Whamcloud - gitweb
b=20581 MDS returns full hash for readdir to decrease hash collision
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-disable-delalloc-sles11.patch
1 Disable the DELALLOC feature because it is not robust in ext4 versions < 2.6.31.
2
3 --
4 Index: linux-2.6.27.21-0.1/fs/ext4/super.c
5 ===================================================================
6 --- linux-2.6.27.21-0.1.orig/fs/ext4/super.c    2009-06-15 05:36:44.000000000 -0400
7 +++ linux-2.6.27.21-0.1/fs/ext4/super.c 2009-06-15 05:40:38.000000000 -0400
8 @@ -2462,13 +2462,6 @@ static int ext4_fill_super(struct super_
9                         "extents feature not enabled on this filesystem, "
10                         "use tune2fs.\n");
11  
12 -       /*
13 -        * enable delayed allocation by default
14 -        * Use -o nodelalloc to turn it off
15 -        */
16 -       set_opt(sbi->s_mount_opt, DELALLOC);
17 -
18 -
19         if (!parse_options((char *) data, sb, &journal_inum, &journal_devnum,
20                            NULL, 0))
21                 goto failed_mount;