summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas_base.c
diff options
context:
space:
mode:
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>2018-01-05 05:27:45 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-10 23:25:18 -0500
commit4959e61b83a3bc53d49b023dcb4dc50150c2795e (patch)
tree2fb2a606ba65ec9d0c62e20e5ba88e7661bf088b /drivers/scsi/megaraid/megaraid_sas_base.c
parent5f19f7c879c4aacdb54d02a79e19d97064c9c999 (diff)
scsi: megaraid_sas: Selectively apply stream detection based on IO type
Performance improvement: Current driver calls stream detection unconditionally for all IOs. Stream Detection logic is not required for most of the fast path IO. To improve performance, avoid stream detection logic and do it only if required. Below are the cases where stream detection is required in driver: 1. All non-FastPath IOs (IOs going to FW) 2. Fast Path reads sent to ReadAhead capable VDs. Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions