Whamcloud - gitweb
b=21610 Kernel update for SLES11 SP1.
[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,12 +2462,6 @@ static int ext4_fill_super(struct super_
9
10         set_opt(sbi->s_mount_opt, BARRIER);
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         if (!parse_options((char *) data, sb, &journal_devnum,
19                            &journal_ioprio, NULL, 0))
20                 goto failed_mount;