[PATCHv2 0/5] SCSI EH cleanup

Hannes Reinecke
2017-02-22T16:07:34Z

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

As usual, comments and reviews are welcome.

Changes to v1:
- Include reviews from Christoph

Christoph Hellwig (1):
libsas: allow async aborts

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

Documentation/scsi/scsi_eh.txt | 30 ++++-----
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, 34 insertions(+), 137 deletions(-)

--
1.8.5.6