Unblock SCSI devices even if the LLD is being unloaded
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | __scsi_iterate_devices(): Make the get and put functions argumentsdrivers/ include/ | +11 | 0 replies | |
| 2/3 | Introduce starget_for_all_devices() and shost_for_all_devices()drivers/ include/ | +69 | 0 replies | |
| 3/3 | Ensure that scsi_target_unblock() examines all devicesdrivers/ | +19 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Israel Rukshin |
|---|---|
| 1/3 | T-b |
| 2/3 | T-b |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Unblock SCSI devices even if the LLD is being unloaded
scsi_target_unblock() must unblock SCSI devices even if this function is called after unloading of the LLD that created these devices has started. This is necessary to prevent that __scsi_remove_device() hangs on the SYNCHRONIZE CACHE command issued by the sd driver during shutdown.
Bart Van Assche (3):
__scsi_iterate_devices(): Make the get and put functions arguments Introduce starget_for_all_devices() and shost_for_all_devices() Ensure that scsi_target_unblock() examines all devices
drivers/scsi/scsi.c | 60 +++++++++++++++++++++++++++++++++++++++++----- drivers/scsi/scsi_lib.c | 22 ++++++++++++++--- include/scsi/scsi_device.h | 29 ++++++++++++++++++---- 3 files changed, 97 insertions(+), 14 deletions(-)
Signature · 1 line
2.12.0