aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>2013-05-22 03:03:29 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-06-24 20:43:58 -0400
commit5d0d908d4481187070cc94664417ab347f15d1fe (patch)
tree86ab953723efa9cf3fc3ec0e32235095634cc831
parent39b72c3c74c775d2d1b926d9f702762c0f721eba (diff)
[SCSI] megaraid_sas: Set IoFlags to enable Fast Path for JBODs for 12 Gb/s controllers
Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com> Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fusion.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 73aa68e60a12..c60f478c5aac 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -1592,6 +1592,10 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
1592 io_request->RaidContext.RAIDFlags = 1592 io_request->RaidContext.RAIDFlags =
1593 MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD << 1593 MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD <<
1594 MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT; 1594 MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT;
1595 if ((instance->pdev->device == PCI_DEVICE_ID_LSI_INVADER) ||
1596 (instance->pdev->device == PCI_DEVICE_ID_LSI_FURY))
1597 io_request->IoFlags |=
1598 MPI25_SAS_DEVICE0_FLAGS_ENABLED_FAST_PATH;
1595 cmd->request_desc->SCSIIO.RequestFlags = 1599 cmd->request_desc->SCSIIO.RequestFlags =
1596 (MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY << 1600 (MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY <<
1597 MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT); 1601 MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);