summaryrefslogtreecommitdiff
path: root/drivers/scsi/raid_class.c
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2018-05-09 18:10:47 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-18 18:22:09 +0300
commit3de0026dad6b8e83d8a699aef92638c50ba966f7 (patch)
treebbd8ebdc5ab358990fb10b5e7b3745f50db01fbc /drivers/scsi/raid_class.c
parenta2b3820bddfbffcfbf0e8170e77de65d8b8def98 (diff)
downloadlinux-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/raid_class.c')
0 files changed, 0 insertions, 0 deletions