From c6570aa9b0922c941f4058c917a4b088b82a7342 Mon Sep 17 00:00:00 2001 From: dzogin Date: Sun, 6 Sep 2009 16:12:37 +0000 Subject: [PATCH] Branch b1_8 b=20533 i=johann i=adilger ---------------------------------------------------------------------- Modified Files: Tag: b1_8 lustre/ChangeLog lustre/kernel_patches/series/2.6-rhel5.series lustre/kernel_patches/series/2.6-sles11.series Added Files: Tag: b1_8 lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch lustre/kernel_patches/patches/blkdev_tunables-2.6-sles11.patch ---------------------------------------------------------------------- Description: Increase the default BLK_DEF_MAX_SECTORS value for RHEL5 and SLES11 =================================================================== --- lustre/ChangeLog | 4 ++++ lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch | 11 +++++++++++ .../kernel_patches/patches/blkdev_tunables-2.6-sles11.patch | 11 +++++++++++ lustre/kernel_patches/series/2.6-rhel5.series | 1 + lustre/kernel_patches/series/2.6-sles11.series | 1 + 5 files changed, 28 insertions(+) create mode 100644 lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch create mode 100644 lustre/kernel_patches/patches/blkdev_tunables-2.6-sles11.patch diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 5b36fbf..5e12d2d 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -15,6 +15,10 @@ tbd Sun Microsystems, Inc. more information, please refer to bugzilla 17630. Severity : normal +Bugzilla : 20533 +Description: Increase the default BLK_DEF_MAX_SECTORS value for RHEL5 and SLES11 + +Severity : normal Bugzilla : 20482 Description: Error handling in osc_statfs_interpret() has been improved. Details : Check in osc_statfs_interpret() for EBADR. diff --git a/lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch b/lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch new file mode 100644 index 0000000..84a0ecb --- /dev/null +++ b/lustre/kernel_patches/patches/blkdev_tunables-2.6-rhel5.patch @@ -0,0 +1,11 @@ +--- linux-2.6.18-128.1.14.orig/include/linux/blkdev.h 2009-06-19 04:03:20.000000000 -0400 ++++ linux-2.6.18-128.1.14/include/linux/blkdev.h 2009-09-04 16:31:30.000000000 -0400 +@@ -778,7 +778,7 @@ extern int blkdev_issue_flush(struct blo + #define MAX_PHYS_SEGMENTS 128 + #define MAX_HW_SEGMENTS 128 + #define SAFE_MAX_SECTORS 255 +-#define BLK_DEF_MAX_SECTORS 1024 ++#define BLK_DEF_MAX_SECTORS 2048 + + #define MAX_SEGMENT_SIZE 65536 + diff --git a/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles11.patch b/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles11.patch new file mode 100644 index 0000000..dea7372 --- /dev/null +++ b/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles11.patch @@ -0,0 +1,11 @@ +--- linux-2.6.27.19-5.orig/include/linux/blkdev.h 2009-03-17 12:48:06.000000000 -0400 ++++ linux-2.6.27.19-5/include/linux/blkdev.h 2009-09-04 18:04:43.000000000 -0400 +@@ -904,7 +904,7 @@ extern void blk_set_cmd_filter_defaults( + #define MAX_PHYS_SEGMENTS 128 + #define MAX_HW_SEGMENTS 128 + #define SAFE_MAX_SECTORS 255 +-#define BLK_DEF_MAX_SECTORS 1024 ++#define BLK_DEF_MAX_SECTORS 2048 + + #define MAX_SEGMENT_SIZE 65536 + diff --git a/lustre/kernel_patches/series/2.6-rhel5.series b/lustre/kernel_patches/series/2.6-rhel5.series index b049b80..575e630 100644 --- a/lustre/kernel_patches/series/2.6-rhel5.series +++ b/lustre/kernel_patches/series/2.6-rhel5.series @@ -8,6 +8,7 @@ export-2.6.18-vanilla.patch export-show_task-2.6.18-vanilla.patch sd_iostats-2.6-rhel5.patch export_symbol_numa-2.6-fc5.patch +blkdev_tunables-2.6-rhel5.patch jbd-stats-2.6-rhel5.patch raid5-stats-rhel5.patch raid5-configurable-cachesize-rhel5.patch diff --git a/lustre/kernel_patches/series/2.6-sles11.series b/lustre/kernel_patches/series/2.6-sles11.series index 860be33..61e48cd 100644 --- a/lustre/kernel_patches/series/2.6-sles11.series +++ b/lustre/kernel_patches/series/2.6-sles11.series @@ -7,6 +7,7 @@ dev_read_only-2.6.27-vanilla.patch export-2.6.27-vanilla.patch export-show_task-2.6.27-vanilla.patch sd_iostats-2.6.27-vanilla.patch +blkdev_tunables-2.6-sles11.patch md-mmp-unplug-dev-sles11.patch quota-support-64-bit-quota-format.patch jbd2-jcberr-2.6-sles11.patch -- 1.8.3.1