Whamcloud - gitweb
- make HEAD from b_post_cmd3
[fs/lustre-release.git] / lustre / kernel_patches / patches / increase-BH_LRU_SIZE.patch
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..1da2708
--- /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   32
+ struct bh_lru {
+       struct buffer_head *bhs[BH_LRU_SIZE];