Whamcloud - gitweb
LU-162 Export ext4_discard_preallocations for ldiskfs
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-disable-write-bar-by-default.patch
1 Index: linux-stage/fs/ext4/super.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/super.c
4 +++ linux-stage/fs/ext4/super.c
5 @@ -2457,7 +2457,7 @@ static int ext4_fill_super(struct super_
6         sbi->s_resgid = le16_to_cpu(es->s_def_resgid);
7  
8         set_opt(sbi->s_mount_opt, RESERVATION);
9 -       set_opt(sbi->s_mount_opt, BARRIER);
10 +       /* set_opt(sbi->s_mount_opt, BARRIER); */
11  
12         /*
13          * turn on extents feature by default in ext4 filesystem