Whamcloud - gitweb
2.6-rhel series: increase BH_LRU_SIZE.
authornikita <nikita>
Wed, 29 Nov 2006 21:22:39 +0000 (21:22 +0000)
committernikita <nikita>
Wed, 29 Nov 2006 21:22:39 +0000 (21:22 +0000)
lustre/kernel_patches/patches/increase-BH_LRU_SIZE.patch [new file with mode: 0644]
lustre/kernel_patches/series/2.6-rhel4.series

diff --git a/lustre/kernel_patches/patches/increase-BH_LRU_SIZE.patch b/lustre/kernel_patches/patches/increase-BH_LRU_SIZE.patch
new file mode 100644 (file)
index 0000000..ab99548
--- /dev/null
@@ -0,0 +1,13 @@
+Index: linux/fs/buffer.c
+===================================================================
+--- linux.orig/fs/buffer.c
++++ linux/fs/buffer.c
+@@ -1429,7 +1429,7 @@ static struct buffer_head *__bread_slow(
+  * a local interrupt disable for that.
+  */
+-#define BH_LRU_SIZE   8
++#define BH_LRU_SIZE   64
+ struct bh_lru {
+       struct buffer_head *bhs[BH_LRU_SIZE];
index 5050509..1704b18 100644 (file)
@@ -37,3 +37,4 @@ jbd-checkpoint-on-commit.patch
 export-nr_free_buffer_pages.patch 
 __find_get_block_slow-scale.patch 
 debugging-fields-in-current.patch 
+increase-BH_LRU_SIZE.patch