(Re-sent to fix subject line to add megaraid_sas) James/linux-scsi, This patch for megaraid_sas fixes FastPath I/O to work on degraded raid 1. Signed-off-by: Adam Radford <aradford@xxxxxxxxx> diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fp.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fp.c --- scsi-misc/drivers/scsi/megaraid/megaraid_sas_fp.c 2011-07-21 19:17:23.000000000 -0700 +++ scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fp.c 2011-07-26 14:13:15.518247693 -0700 @@ -288,7 +288,6 @@ /* Get dev handle from Pd */ *pDevHandle = MR_PdDevHandleGet(pd, map); } - retval = FALSE; } *pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;
Attachment:
megaraid_sas.patch1
Description: Binary data