Whamcloud - gitweb
b=4336
[fs/lustre-release.git] / lustre / kernel_patches / patches / directio-2.4.24.patch
1 Index: lum/mm/filemap.c
2 ===================================================================
3 --- lum.orig/mm/filemap.c       2004-04-25 14:58:10.000000000 -0400
4 +++ lum/mm/filemap.c    2004-04-25 16:23:32.000000000 -0400
5 @@ -1614,8 +1614,8 @@
6                 new_iobuf = 1;
7         }
8  
9 -       blocksize = 1 << inode->i_blkbits;
10 -       blocksize_bits = inode->i_blkbits;
11 +       blocksize = 512 /*1 << inode->i_blkbits*/;
12 +       blocksize_bits = 9 /*inode->i_blkbits*/;
13         blocksize_mask = blocksize - 1;
14         chunk_size = KIO_MAX_ATOMIC_IO << 10;
15