From d15191cb4dd51d3bf5bbfba6672c63f5eaf9b27d Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 29 Nov 2006 21:22:39 +0000 Subject: [PATCH] 2.6-rhel series: increase BH_LRU_SIZE. --- lustre/kernel_patches/patches/increase-BH_LRU_SIZE.patch | 13 +++++++++++++ lustre/kernel_patches/series/2.6-rhel4.series | 1 + 2 files changed, 14 insertions(+) create mode 100644 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 index 0000000..ab99548 --- /dev/null +++ b/lustre/kernel_patches/patches/increase-BH_LRU_SIZE.patch @@ -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]; diff --git a/lustre/kernel_patches/series/2.6-rhel4.series b/lustre/kernel_patches/series/2.6-rhel4.series index 5050509..1704b18 100644 --- a/lustre/kernel_patches/series/2.6-rhel4.series +++ b/lustre/kernel_patches/series/2.6-rhel4.series @@ -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 -- 1.8.3.1