Skip to content

SCSI EH cleanup

Hannes Reinecke linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libsas: allow async abortsdrivers/scsi/libsas/sas_scsi_host.c+0 -31 reply
2/5scsi: make scsi_eh_scmd_add() always succeeddrivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c drivers/scsi/scsi_priv.h+16 -292 replies
3/5scsi: make eh_eflags persistentDocumentation/scsi/scsi_eh.txt drivers/scsi/scsi_error.c include/scsi/scsi_eh.h+3 -52 replies
4/5scsi: make asynchronous aborts mandatoryDocumentation/scsi/scsi_eh.txt drivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c +2 more+22 -971 reply
5/5scsi_error: do not escalate failed EH commanddrivers/scsi/scsi_error.c+1 -101 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchHannes ReineckeJohannes ThumshirnChristoph Hellwig
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] SCSI EH cleanup

Hi all,

here's 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 for handle failed EH commands, and to detect retries of failed commands.

As usual, comments and reviews are welcome.

Christoph Hellwig (1):
libsas: allow async aborts

Hannes Reinecke (4):
scsi: make scsi_eh_scmd_add() always succeed
scsi: make eh_eflags persistent
scsi: make asynchronous aborts mandatory
scsi_error: do not escalate failed EH command

 Documentation/scsi/scsi_eh.txt      |  31 ++++-----
 drivers/scsi/libsas/sas_scsi_host.c |   3 -
 drivers/scsi/scsi_error.c           | 125 ++++++------------------------------
 drivers/scsi/scsi_lib.c             |   4 +-
 drivers/scsi/scsi_priv.h            |   3 +-
 include/scsi/scsi_eh.h              |   1 +
 include/scsi/scsi_host.h            |   5 --
 7 files changed, 35 insertions(+), 137 deletions(-)
Signature · 1 line
1.8.5.6