James/Linux-scsi, The following patch for megaraid_sas fixes megasas_build_dcdb_fusion() to not filter by TYPE_DISK. Signed-off-by: Adam Radford <aradford@xxxxxxxxx> diff -Naur linux-2.6.38-rc5/drivers/scsi/megaraid/megaraid_sas_fusion.c linux-2.6.38-rc5.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- linux-2.6.38-rc5/drivers/scsi/megaraid/megaraid_sas_fusion.c 2011-02-19 16:22:12.668333205 -0800 +++ linux-2.6.38-rc5.new/drivers/scsi/megaraid/megaraid_sas_fusion.c 2011-02-19 16:23:33.028364422 -0800 @@ -1438,8 +1438,7 @@ local_map_ptr = fusion->ld_map[(instance->map_id & 1)]; /* Check if this is a system PD I/O */ - if ((instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) && - (instance->pd_list[pd_index].driveType == TYPE_DISK)) { + if (instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) { io_request->Function = 0; io_request->DevHandle = local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
Attachment:
megaraid_sas.patch8
Description: Binary data