libiscsi and qedi TMF fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest17 patches 4 repliesIn review
- v317 patches 10 repliesSuperseded
- v113 patches 1 replySuperseded
Changes in v4 from the cover letter
- Rm unused rtid variable in qedi
- Added a default case in TMF switch just in case people do not like not having it.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | scsi: iscsi: add task completion helperinclude/ | +7 | 0 replies | |
| 2/17 | scsi: iscsi: sync libiscsi and driver reset cleanupdrivers/ | +74 | 1 reply | |
| 3/17 | scsi: iscsi: stop queueing during ep_disconnectdrivers/ drivers/ drivers/ +8 more | +73 | 0 replies | |
| 4/17 | scsi: iscsi: drop suspend calls from ep_disconnectdrivers/ drivers/ drivers/ +1 more | +5 | 0 replies | |
| 5/17 | scsi: iscsi: wait on cmds before freeing conndrivers/ | +28 | 1 reply | |
| 6/17 | scsi: iscsi: fix use conn use after freedrivers/ include/ | +64 | 0 replies | |
| 7/17 | scsi: iscsi: move pool freeingdrivers/ | +1 | 0 replies | |
| 8/17 | scsi: qedi: fix null ref during abort handlingdrivers/ | +1 | 0 replies | |
| 9/17 | scsi: qedi: fix race during abort timeoutsdrivers/ drivers/ | +17 | 0 replies | |
| 10/17 | scsi: qedi: fix use after free during abort cleanupdrivers/ drivers/ | +61 | 0 replies | |
| 11/17 | scsi: qedi: fix TMF tid allocationdrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 12/17 | scsi: qedi: use GFP_NOIO for tmf allocationdrivers/ | +1 | 0 replies | |
| 13/17 | scsi: qedi: fix TMF session block/unblock usedrivers/ | +1 | 0 replies | |
| 14/17 | scsi: qedi: fix cleanup session block/unblock usedrivers/ drivers/ | +16 | 0 replies | |
| 15/17 | scsi: qedi: pass send_iscsi_tmf task to abortdrivers/ | +5 | 0 replies | |
| 16/17 | scsi: qedi: complete TMF works before disconnectdrivers/ drivers/ drivers/ | +47 | 0 replies | |
| 17/17 | scsi: qedi: always wake up if cmd_cleanup_req is setdrivers/ | +4 | 0 replies |
Reviews trailers per patch
All 17 patches have a Reviewed-by or Acked-by.
| Patch | Lee Duncan | Manish Rangankar |
|---|---|---|
| 1/17 | R-b | |
| 2/17 | R-b | |
| 3/17 | R-b | |
| 4/17 | R-b | |
| 5/17 | R-b | |
| 6/17 | R-b | |
| 7/17 | R-b | |
| 8/17 | R-b | |
| 9/17 | R-b | |
| 10/17 | R-b | |
| 11/17 | R-b | |
| 12/17 | R-b | |
| 13/17 | R-b | |
| 14/17 | R-b | |
| 15/17 | R-b | |
| 16/17 | R-b | |
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/17] libiscsi and qedi TMF fixes
The following patches were made over Linus's tree. They apply to any of Martin's branches that has this fix: 73603e995a37 ("scsi: iscsi: Fix iSCSI cls conn state") that has conflicts with a patch in this set.
The patches fix TMF bugs in the qedi driver, libiscsi EH issues that are common to all offload drivers like qedi and some fixes for cases where userspace is not doing an unbind target nl cmd and we are doing TMFs during session termination.
V4:
- Rm unused rtid variable in qedi
- Added a default case in TMF switch just in case people do not like not having it.
V3:
- Fix u16 initialization and test.
- Fix bool return value use.
- Added patches for cases where EH is running then userspace terminates the connection without removing the target first.
- Made patch that stops IO during ep_disconnect more driver friendly by handling if the ep is bound or not.
V2:
- Dropped patch that reverted the in-kernel conn failure handling. I posted a full patchset to fix that separately.
- Modfied the tmf vs cmd queueing patch. The RFC patch only supported qedi and offload drivers. iscsi_tcp/cxgbgi do not need it.
- Added patch for another issue found where cmds can still be queued to the driver while it does ep_disconnect.