From: johann Date: Fri, 25 Sep 2009 13:52:49 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_9_280~43 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=73986ef941e317b477991ae4eb4862ddf502af3b Branch b1_8 b=20205 i=girish Disable write barrier on ext4/SLES11 as we did for ext3/SLES10, since it seems to hurt write performance badly. --- 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 226eea2..bcf9753 100644 --- a/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series +++ b/ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series @@ -32,3 +32,4 @@ ext4-osd-iam-exports.patch ext4-dynlocks-common-sles11.patch ext4-dynlocks-2.6-rhel5.patch ext4-hash-indexed-dir-dotdot-update.patch +ext4-disable-write-bar-by-default.patch