patch-2.4.1 linux/drivers/md/raid5.c
Next file: linux/drivers/md/xor.c
Previous file: linux/drivers/md/md.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Jan 21 15:41:02 2001
- Orig file:
v2.4.0/linux/drivers/md/raid5.c
- Orig date:
Thu Jan 4 12:50:17 2001
diff -u --recursive --new-file v2.4.0/linux/drivers/md/raid5.c linux/drivers/md/raid5.c
@@ -714,6 +714,11 @@
break;
}
spin_unlock_irq(&conf->device_lock);
+ if (count>1) {
+ xor_block(count, bh_ptr);
+ count = 1;
+ }
+
for (i = disks; i--;)
if (chosen[i]) {
struct buffer_head *bh = sh->bh_cache[i];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)