SCSI EH cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest8 patches 9 repliesIn review
- v58 patches 7 repliesSuperseded
- v48 patches 1 replySuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 22 replies | Superseded | |
| v2 | 5 patches | 13 replies | Superseded | |
| v1 | 5 patches | 4 replies | Superseded |
Changes to v1 from the cover letter
- Include reviews from Christoph
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | scsi_error: count medium access timeout only once per EH rundrivers/ drivers/ drivers/ +1 more | +46 | 0 replies | |
| 2/8 | sd: Return SUCCESS in sd_eh_action() after device offlinedrivers/ | +1 | 1 reply | |
| 3/8 | scsi: always send command abortsdrivers/ | +0 | 1 reply | |
| 4/8 | libsas: allow async abortsdrivers/ | +0 | 0 replies | |
| 5/8 | scsi: make eh_eflags persistentDocumentation/ drivers/ drivers/ +1 more | +10 | 1 reply | |
| 6/8 | scsi: make scsi_eh_scmd_add() always succeeddrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 7/8 | scsi: make asynchronous aborts mandatoryDocumentation/ drivers/ drivers/ +2 more | +15 | 0 replies | |
| 8/8 | scsi: inline command abortsdrivers/ drivers/ drivers/ +2 more | +41 | 4 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Johannes Thumshirn | Hannes Reinecke | Benjamin Block | Bart Van Assche |
|---|---|---|---|---|---|
| 1/8 | R-b | ||||
| 2/8 | R-b | R-b | |||
| 3/8 | R-b | R-b | |||
| 4/8 | R-b | R-b | |||
| 5/8 | R-b | R-b | R-b | R-b | |
| 6/8 | R-b | R-b | R-b | ||
| 7/8 | R-b | R-b | R-b | ||
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCHv6 0/8] SCSI EH cleanup
Hi all,
this is a resend of a small patchset for cleaning up SCSI EH. Primary goal is to make asynchronous aborts mandatory; there hasn't been a single report so far where asynchronous abort won't work, so the 'no_async_abort' flag has never been used and will be removed with this patchset.
Additionally there's a cleanup to detect retries of failed commands and to inline commands aborts.
I've also included the patch to correctly reset the media access timeout counter to avoid it being triggered inadvertedly by several commands timing out for the same device.
As usual, comments and reviews are welcome.
Changes to v1:
- Include reviews from Christoph
Changes to v2:
- Include reviews from Bart
- Add medium access timeout patch
Changes to v3:
- Add patch to inline command abort as per suggestion from Christoph
- Drop patch to not escalate failed EH commands
Changes to v4:
- Split off sdrv->eh_action into two functions
Changes to v5:
- Simplify 'scsi: inline command aborts'
- Add Reviewed-by tags
Christoph Hellwig (1):
libsas: allow async aborts
Hannes Reinecke (7):
scsi_error: count medium access timeout only once per EH run
sd: Return SUCCESS in sd_eh_action() after device offline
scsi: always send command aborts
scsi: make eh_eflags persistent
scsi: make scsi_eh_scmd_add() always succeed
scsi: make asynchronous aborts mandatory
scsi: inline command aborts
Documentation/scsi/scsi_eh.txt | 30 ++--- drivers/scsi/libsas/sas_scsi_host.c | 5 - drivers/scsi/scsi.c | 2 - drivers/scsi/scsi_error.c | 213 ++++++++++++------------------------ drivers/scsi/scsi_lib.c | 6 +- drivers/scsi/scsi_priv.h | 4 +- drivers/scsi/sd.c | 29 ++++- drivers/scsi/sd.h | 1 + include/scsi/scsi_cmnd.h | 1 - include/scsi/scsi_driver.h | 1 + include/scsi/scsi_eh.h | 1 + include/scsi/scsi_host.h | 5 - 12 files changed, 113 insertions(+), 185 deletions(-)
Signature · 1 line
1.8.5.6