X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Flibmount_utils_ldiskfs.c;h=d548a2c4e18395fd3d70bdf9c7d23a6526dbdb06;hb=ed80c3f64317a87ed10919cedbf2d65b36abcdcb;hp=5907213061e83915c9cd144ced5c5622dbfdd553;hpb=a81c093a935c62b9e4586ae930aab7439948d538;p=fs%2Flustre-release.git diff --git a/lustre/utils/libmount_utils_ldiskfs.c b/lustre/utils/libmount_utils_ldiskfs.c index 5907213..d548a2c 100644 --- a/lustre/utils/libmount_utils_ldiskfs.c +++ b/lustre/utils/libmount_utils_ldiskfs.c @@ -540,6 +540,10 @@ static int enable_default_ext4_features(struct mkfs_opts *mop, char *anchor, if (IS_MDT(&mop->mo_ldd) && is_e2fsprogs_feature_supp("-O large_dir")) append_unique(anchor, ",", "large_dir", NULL, maxbuflen); + /* Disable fast_commit since it breaks ldiskfs transactions ordering */ + if (is_e2fsprogs_feature_supp("fast_commit")) + append_unique(anchor, ",", "^fast_commit", NULL, maxbuflen); + /* Cluster inode/block bitmaps and inode table for more efficient IO. * Align the flex groups on a 1MB boundary for better performance. */ /* This -O feature needs to go last, since it adds the "-G" option. */