Whamcloud - gitweb
LU-2337 scripts: init script to not use -d with zpool import
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-disable-delalloc-rhel5.patch
1 Disable the DELALLOC feature because it is not robust in ext4 versions < 2.6.31.
2
3 --
4 diff -rupN linux-2.6.18-164.6.1_1/fs/ext4/super.c linux-2.6.18-164.6.1_2/fs/ext4/super.c
5 --- linux-2.6.18-164.6.1_1/fs/ext4/super.c      2010-08-05 13:44:07.000000000 +0530
6 +++ linux-2.6.18-164.6.1_2/fs/ext4/super.c      2010-08-05 13:46:29.000000000 +0530
7 @@ -2091,12 +2091,6 @@ static int ext4_fill_super(struct super_
8  
9         set_opt(sbi->s_mount_opt, BARRIER);
10  
11 -       /*
12 -        * enable delayed allocation by default
13 -        * Use -o nodelalloc to turn it off
14 -        */
15 -       set_opt(sbi->s_mount_opt, DELALLOC);
16 -
17         if (!parse_options((char *) data, sb, &journal_devnum,
18                            &journal_ioprio, NULL, 0))
19                 goto failed_mount;