diff options
author | Kevin Barnett <kevin.barnett@microchip.com> | 2022-07-08 13:47:51 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-13 23:42:04 -0400 |
commit | 2d80f4054f7f901b8ad97358a9069616ac8524c7 (patch) | |
tree | 4506f56f1047027699ae8a2958d03ee9493d2ac8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cf15c3e734e8d25de7b4d9170f5a69ace633a583 (diff) | |
download | linux-2d80f4054f7f901b8ad97358a9069616ac8524c7.tar.gz linux-2d80f4054f7f901b8ad97358a9069616ac8524c7.tar.bz2 linux-2d80f4054f7f901b8ad97358a9069616ac8524c7.zip |
scsi: smartpqi: Update deleting a LUN via sysfs
Change removing a LUN using sysfs from an internal driver function
pqi_remove_all_scsi_devices() to using the .slave_destroy entry in the
scsi_host_template.
A LUN can be deleted via sysfs using this syntax:
echo 1 > /sys/block/sdX/device/delete
Link: https://lore.kernel.org/r/165730607154.177165.9723066932202995774.stgit@brunhilda
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.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