linux-stable/drivers/scsi/smartpqi
Kevin Barnett 2d80f4054f 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>
2022-07-13 23:42:04 -04:00
..
Kconfig scsi: smartpqi: Change Kconfig menu entry to Microchip 2021-07-19 22:00:56 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi.h scsi: smartpqi: Add module param to disable managed ints 2022-07-13 23:42:04 -04:00
smartpqi_init.c scsi: smartpqi: Update deleting a LUN via sysfs 2022-07-13 23:42:04 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Add extended report physical LUNs 2021-10-05 00:13:15 -04:00
smartpqi_sis.c scsi: smartpqi: Fix PCI control linkdown system hang 2022-07-13 23:42:03 -04:00
smartpqi_sis.h scsi: smartpqi: Fix BUILD_BUG_ON() statements 2022-02-07 23:38:36 -05:00