diff options
| author | 2017-12-09 01:16:34 +0800 | |
|---|---|---|
| committer | 2017-12-14 21:25:02 -0500 | |
| commit | 0258141aaab3007949ba0e67c3d28436354429bb (patch) | |
| tree | 818ba4266bd6085fd9407085538e1c82483dc520 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | scsi: hisi_sas: fix dma_unmap_sg() parameter (diff) | |
scsi: hisi_sas: relocate clearing ITCT and freeing device
In certain scenarios we may just want to clear the ITCT for a device, and not
free other resources like the SATA bitmap using in v2 hw.
To facilitate this, this patch relocates the code of clearing ITCT from
free_device() to a new hw interface clear_itct(). Then for some hw, we should
not realise free_device() if there's nothing left to do for it.
[mkp: typo]
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
