From: nikita Date: Wed, 29 Nov 2006 21:22:39 +0000 (+0000) Subject: 2.6-rhel series: increase BH_LRU_SIZE. X-Git-Tag: v1_8_0_110~486^2~55 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d15191cb4dd51d3bf5bbfba6672c63f5eaf9b27d;p=fs%2Flustre-release.git 2.6-rhel series: increase BH_LRU_SIZE. --- 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