linux/drivers/scsi/hisi_sas
Xiang Chen 584f53fe5f scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO
If SMP/internal IO times out, we will possibly free the task immediately.

However if the IO actually completes at the same time, the IO completion
may refer to task which has been freed.

So to solve the issue, flush the tasklet to finish IO completion before
free'ing slot/task.

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-10-16 00:27:04 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO 2018-10-16 00:27:04 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: add memory barrier in task delivery function 2018-07-19 21:57:40 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Add SATA FIS check for v3 hw 2018-07-19 21:57:40 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Add SATA FIS check for v3 hw 2018-07-19 21:57:40 -04:00
hisi_sas.h scsi: hisi_sas: tidy host controller reset function a bit 2018-07-19 21:57:39 -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