Skip to content

SCSI device removal fixes

Bart Van Assche linux-scsi 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest0 of 4 patches 0 repliesNew
  2. v94 patches 17 repliesSuperseded
  3. v84 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v74 patches18 repliesSuperseded
v62 of 3 patches17 repliesSuperseded

Changes in v10 from the cover letter

- Added a patch to the series (3/5).
- Updated patch description of patch 2/5, swapped a kfree() and blk_cleanup_queue() call to make the code easier to read and removed the BUG_ON(!sdev) statements from that patch.

Patches in v10 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchTejun HeoMike Christie
SeriesA-b A-b A-b A-b A-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH 0/4 v10] SCSI device removal fixes

This is version ten of the SCSI device removal patch series. This patch series has been tested by triggering a large number of removals of a SCSI device controlled by the ib_srp LLD and at the same time running an I/O integrity test with fio on a dm device on top of the SRP SCSI device.

Changes compared to v9:
- Added a patch to the series (3/5).
- Updated patch description of patch 2/5, swapped a kfree() and blk_cleanup_queue() call to make the code easier to read and removed the BUG_ON(!sdev) statements from that patch.

Changes compared to v8:
- Replaced the block layer patch (1/4) by a more comprehensive patch from Muthukumar Ratty.
- Added "Reviewed-by: Mike Christie" in patches 2/4..4/4.

Changes compared to v7:
- Made sure that __scsi_queue_insert() processes the request that has been passed to that function. Added a comment in that function too.
- Fixed a typo in the description of the first patch in this series and removed "CC: stable".

Changes compared to v6:
- Added a fix for a race in the block layer.
- Moved a BUG_ON(!sdev) statement up since it's a precondition check.
- Changed return type of scsi_queue_insert() from int to void.
- Added a cancel_work_sync(&sdev->requeue_work) call in __scsi_remove_device().

Changes compared to v5:
- Removed the function scsi_free_queue() and inlined that function in its callers.
- Added two additional patches.