commit | e85d93b21267fff56110e3a258b9fad8adbfbce3 | [log] [tgz] |
---|---|---|
author | Xiang Chen <chenxiang66@hisilicon.com> | Wed May 09 23:10:49 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri May 18 11:22:09 2018 -0400 |
tree | 1ccb90316de70e0085c6212e665d0573aa7e8347 | |
parent | fa222db0b036899cd4020a380568699ffb1de08d [diff] |
scsi: hisi_sas: Use device lock to protect slot alloc/free The IPTT of a slot is unique, and we currently use hisi_hba lock to protect it. Now slot is managed on hisi_sas_device.list, so use DQ lock to protect for allocating and freeing the slot. 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>