Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / increase-BH_LRU_SIZE.patch
1 Index: linux/fs/buffer.c
2 ===================================================================
3 --- linux.orig/fs/buffer.c
4 +++ linux/fs/buffer.c
5 @@ -1429,7 +1429,7 @@ static struct buffer_head *__bread_slow(
6   * a local interrupt disable for that.
7   */
8  
9 -#define BH_LRU_SIZE    8
10 +#define BH_LRU_SIZE    32
11  
12  struct bh_lru {
13         struct buffer_head *bhs[BH_LRU_SIZE];