]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[SCSI] megaraid_sas: Performance boost fixes
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Sat, 1 Mar 2014 23:58:11 +0000 (05:28 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:20 +0000 (10:19 -0700)
commit8058a1691b6d679e6ea129e626cfa44c8f5acd6d
tree8157fa339a27337925cdd9df39259d30357f2240
parent46de63e260c3fa3ff2b6810de2ebe7ed9a882995
[SCSI] megaraid_sas: Performance boost fixes

Host lock is added back around queuecommand. Host lock removal can create race
conditon between ISR path(when RAID map update interrupt is raised) and IO
build path of driver, since IO build path is making use of RAID map, and in
case of RAID map update interrupt, old RAID map copy is memset to zero, which
some IOs may be referencing in build IO path.  Changes done for performance
boost- 1) Added code to set SMP IRQ affinity per CPU.  2) Pass MSI-x index,
while issuing sysPD IO.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/megaraid/megaraid_sas_fusion.c