From f3809e73cc763299ede59f0d7d860dc32ec285f7 Mon Sep 17 00:00:00 2001 From: johann Date: Fri, 18 Sep 2009 21:20:48 +0000 Subject: [PATCH] Branch b_release_1_8_1 b=20205 disable write barrier for ext4/SLES11 since this is suspected to hurt write performance as reported in the past on ext3/SLES10 --- .../patches/ext4-disable-write-bar-by-default.patch | 13 +++++++++++++ ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series | 1 + lustre/ChangeLog | 13 +++++++++---- 3 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 ldiskfs/kernel_patches/patches/ext4-disable-write-bar-by-default.patch diff --git a/ldiskfs/kernel_patches/patches/ext4-disable-write-bar-by-default.patch b/ldiskfs/kernel_patches/patches/ext4-disable-write-bar-by-default.patch new file mode 100644 index 0000000..1a9e9a3 --- /dev/null +++ b/ldiskfs/kernel_patches/patches/ext4-disable-write-bar-by-default.patch @@ -0,0 +1,13 @@ +Index: linux-stage/fs/ext4/super.c +=================================================================== +--- linux-stage.orig/fs/ext4/super.c ++++ linux-stage/fs/ext4/super.c +@@ -2457,7 +2457,7 @@ static int ext4_fill_super(struct super_ + sbi->s_resgid = le16_to_cpu(es->s_def_resgid); + + set_opt(sbi->s_mount_opt, RESERVATION); +- set_opt(sbi->s_mount_opt, BARRIER); ++ /* set_opt(sbi->s_mount_opt, BARRIER); */ + + /* + * turn on extents feature by default in ext4 filesystem diff --git a/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series b/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series index e4c0202..2e849b2 100644 --- a/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series +++ b/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series @@ -27,3 +27,4 @@ ext4-convert-group-lock-sles11.patch ext4-force_over_8tb-sles11.patch ext4-claim_inode-free_inode-race.patch ext4-pa_lock-typo.patch +ext4-disable-write-bar-by-default.patch diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 89f9c62..5c35c00 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -122,12 +122,17 @@ Details : if a client doesn't respond to a blocking callback within the when the lock is next granted. Severity : normal -Bugzilla : 20518 -Description: OST is being unmounted w/o all writes to last_rcvd landing on disk. - Affects recovery negatively. -Details : Make sure all exports have been properly destroyed by the zombie +bugzilla : 20518 +description: ost is being unmounted w/o all writes to last_rcvd landing on disk. + affects recovery negatively. +details : make sure all exports have been properly destroyed by the zombie thread processed before stopping the target. +Severity : normal +bugzilla : 20205 +description: Performance degradation with O_DIRECT between 1.6 & 1.8.1 b190 +details : disable write barrier for ext4/SLES11. + ------------------------------------------------------------------------------- -- 1.8.3.1