James/linux-scsi,

The following patch for megaraid_sas adds SystemPD FastPath support.

Signed-off-by: Adam Radford <aradf...@gmail.com>

diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c
scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c
--- scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c       2012-10-01
17:07:36.228925449 -0700
+++ scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c   2012-10-01
17:09:12.628956305 -0700
@@ -1524,6 +1524,8 @@
                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;

Attachment: megaraid_sas.patch5
Description: Binary data

Reply via email to