linux/drivers/scsi/hisi_sas
Xiang Chen fa222db0b0 scsi: hisi_sas: Don't lock DQ for complete task sending
Currently we lock the DQ to protect whole delivery process.  So this
stops us building slots for the same queue in parallel, and can affect
performance.

To optimise it, only lock the DQ during special periods, specifically
when allocating a slot from the DQ and when delivering a slot to the HW.

This approach is now safe, thanks to the previous patches to ensure that
we always deliver a slot to the HW once allocated.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-05-18 11:22:09 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Don't lock DQ for complete task sending 2018-05-18 11:22:09 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Don't lock DQ for complete task sending 2018-05-18 11:22:09 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Don't lock DQ for complete task sending 2018-05-18 11:22:09 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Don't lock DQ for complete task sending 2018-05-18 11:22:09 -04:00
hisi_sas.h scsi: hisi_sas: Don't lock DQ for complete task sending 2018-05-18 11:22:09 -04:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00