diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2018-05-09 18:10:47 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-18 18:22:09 +0300 |
commit | 3de0026dad6b8e83d8a699aef92638c50ba966f7 (patch) | |
tree | bbd8ebdc5ab358990fb10b5e7b3745f50db01fbc /drivers/scsi/atp870u.c | |
parent | a2b3820bddfbffcfbf0e8170e77de65d8b8def98 (diff) | |
download | linux-3de0026dad6b8e83d8a699aef92638c50ba966f7.tar.xz |
scsi: hisi_sas: allocate slot buffer earlier
Currently we allocate the slot's memory buffer after allocating the DQ
slot.
To aid DQ lockout reduction, and allow slots to be built in parallel,
move this step (which can fail) prior to allocating the slot.
Also a stray spin_unlock_irqrestore() is removed from internal task exec
function.
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>
Diffstat (limited to 'drivers/scsi/atp870u.c')
0 files changed, 0 insertions, 0 deletions