MDSSIZE=$old_mdssize
MDSISIZE=$old_mdsisize
- do_facet $SINGLEMDS $MKFS $opts17t $tmpmnt/$mdtimg ||
+
+ do_facet $SINGLEMDS $MKFS \
+ ${opts17t/-E /-E lazy_itable_init,lazy_journal_init,} \
+ $tmpmnt/$mdtimg ||
error "failed to mkfs for $tmpmnt/$mdtimg"
do_facet $SINGLEMDS $TUNE2FS -l $tmpmnt/$mdtimg |
}
/* Avoid zeroing out the full journal - speeds up mkfs */
- if (is_e2fsprogs_feature_supp("-E lazy_journal_init"))
+ if (is_e2fsprogs_feature_supp("-E lazy_journal_init=0")) {
append_unique(start, ext_opts ? "," : " -E ",
- "lazy_journal_init", NULL, maxbuflen);
+ "lazy_journal_init=0", NULL, maxbuflen);
+ ext_opts = 1;
+ }
+ if (is_e2fsprogs_feature_supp("-E lazy_itable_init=0")) {
+ append_unique(start, ext_opts ? "," : "-E",
+ "lazy_itable_init=0", NULL, maxbuflen);
+ ext_opts = 1;
+ }
+
/* end handle -E mkfs options */
/* Allow reformat of full devices (as opposed to partitions).