Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Fri, 25 Sep 2009 13:52:49 +0000 (13:52 +0000)
committerjohann <johann>
Fri, 25 Sep 2009 13:52:49 +0000 (13:52 +0000)
b=20205
i=girish

Disable write barrier on ext4/SLES11 as we did for ext3/SLES10, since
it seems to hurt write performance badly.

ldiskfs/kernel_patches/patches/ext4-disable-write-bar-by-default.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series

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 (file)
index 0000000..1a9e9a3
--- /dev/null
@@ -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
index 226eea2..bcf9753 100644 (file)
@@ -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