Whamcloud - gitweb
Branch HEAD
authorvs <vs>
Thu, 20 Nov 2008 23:24:31 +0000 (23:24 +0000)
committervs <vs>
Thu, 20 Nov 2008 23:24:31 +0000 (23:24 +0000)
b=17132
i=adilger

Use raid5/6 rhel5 improvements

lustre/kernel_patches/patches/raid5-merge-ios-rhel5.patch

index 735af2c..decf7a4 100644 (file)
@@ -1,6 +1,7 @@
-diff -pur linux-2.6.18-53.orig/drivers/md/raid5.c linux-2.6.18-53/drivers/md/raid5.c
---- linux-2.6.18-53.orig/drivers/md/raid5.c    2007-12-28 18:55:24.000000000 +0800
-+++ linux-2.6.18-53/drivers/md/raid5.c 2007-12-28 19:08:15.000000000 +0800
+Index: linux-2.6.18-92.1.17/drivers/md/raid5.c
+===================================================================
+--- linux-2.6.18-92.1.17.orig/drivers/md/raid5.c
++++ linux-2.6.18-92.1.17/drivers/md/raid5.c
 @@ -1277,7 +1277,26 @@ static void compute_block_2(struct strip
        }
  }
 @@ -1277,7 +1277,26 @@ static void compute_block_2(struct strip
        }
  }
@@ -151,7 +152,7 @@ diff -pur linux-2.6.18-53.orig/drivers/md/raid5.c linux-2.6.18-53/drivers/md/rai
                }
                if (sh) {
 -                      handle_stripe(sh, NULL);
                }
                if (sh) {
 -                      handle_stripe(sh, NULL);
-+                      handle_stripe(sh, NULL, NULL);
++                      handle_stripe(sh, NULL, bios);
                        release_stripe(sh);
                        sh = NULL;
                }
                        release_stripe(sh);
                        sh = NULL;
                }