[SCSI] megaraid_sas: Add SystemPD FastPath support
authoradam radford <aradford@gmail.com>
Tue, 2 Oct 2012 02:27:20 +0000 (19:27 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 9 Oct 2012 10:19:48 +0000 (11:19 +0100)
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index ad6e2ac196b01e540a80bf69181d354249c7f3b0..93ebcac44e04ac0d5628c91a0f3536151d994981 100644 (file)
@@ -1524,6 +1524,8 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
                cmd->request_desc->SCSIIO.RequestFlags =
                        (MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY <<
                         MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);
+               cmd->request_desc->SCSIIO.DevHandle =
+                       local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
        } else {
                io_request->Function  = MEGASAS_MPI2_FUNCTION_LD_IO_REQUEST;
                io_request->DevHandle = device_id;