LCONSOLE_WARN("Unknown stripe pattern: %#x\n",desc->ld_pattern);
desc->ld_pattern = 0;
}
+
+ if (desc->ld_qos_maxage == 0)
+ desc->ld_qos_maxage = QOS_DEFAULT_MAXAGE;
}
static int lov_setup(struct obd_device *obd, struct lustre_cfg *lcfg)
#endif
#include <obd.h>
+#include <obd_lov.h>
#include <obd_class.h>
#include <lustre_log.h>
#include <obd_ost.h>
lovdesc->ld_pattern = LOV_PATTERN_RAID0;
lovdesc->ld_default_stripe_size = 1024 * 1024;
lovdesc->ld_default_stripe_offset = 0;
+ lovdesc->ld_qos_maxage = QOS_DEFAULT_MAXAGE;
sprintf((char*)lovdesc->ld_uuid.uuid, "%s_UUID", lovname);
/* can these be the same? */
uuid = (char *)lovdesc->ld_uuid.uuid;