Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-15703 ldiskfs: Disable unused fast commit buffer
[fs/lustre-release.git]
/
lustre
/
utils
/
libmount_utils_ldiskfs.c
diff --git
a/lustre/utils/libmount_utils_ldiskfs.c
b/lustre/utils/libmount_utils_ldiskfs.c
index
5907213
..
d548a2c
100644
(file)
--- 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);
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. */
/* 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. */