Three SCSI target reliability improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 3 repliesIn review
- v13 patches 10 repliesSuperseded
Changes in v3 from the cover letter
- Changed target_{,un}depend_item() calls into configfs_{get,put}_item() calls.
- Changed ISCSI_REASON_BOOKMARK_NO_RESOURCES into ISCSI_REASON_WAITING_FOR_LOGOUT.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/core: Release SPC-2 reservations when closing a sessiondrivers/ | +15 | 0 replies | |
| 2/3 | target/core: Fix a use-after-free in the TMF handling codedrivers/ | +6 | 2 replies | |
| 3/3 | target/iscsi: Wait for all commands to finish before freeing a sessiondrivers/ include/ | +9 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Roman Bolshakov |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] Three SCSI target reliability improvements
Hi Martin,
The three patches in this series fix complaints that were reported while running the libiscsi test tool against the SCSI target code. I'm not sure why I hadn't noticed these issues before - maybe new tests have been added to the test tool. Please consider these patches for Linux kernel version v5.5.
Thanks,
Bart.
Changes compared to v2:
- Changed target_{,un}depend_item() calls into configfs_{get,put}_item() calls.
- Changed ISCSI_REASON_BOOKMARK_NO_RESOURCES into ISCSI_REASON_WAITING_FOR_LOGOUT.
Changes compared to v1:
- The patch that declares target_release_reservation() static has been left out because a patch in this series introduces a call to that function outside the file in which that function has been defined.
- The patch for releasing SPC-2 reservations has been reworked as requested by Roman.
- Two new patches have been added.
Bart Van Assche (3):
target/core: Release SPC-2 reservations when closing a session target/core: Fix a use-after-free in the TMF handling code target/iscsi: Wait for all commands to finish before freeing a session
drivers/target/iscsi/iscsi_target.c | 10 ++++++++-- drivers/target/target_core_transport.c | 21 +++++++++++++++++++++ include/scsi/iscsi_proto.h | 1 + 3 files changed, 30 insertions(+), 2 deletions(-)