[PATCH] Improve ZBC/ZAC error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series introduces changes to scsi and libata error handling for ZBC and ZAC
devices.

The first patch moves ZBC specific error handling in sd_zbc_complete() to a
generic scsi error function that can be used also in libata (second patch). The
goal of this change is to limit retries for commands that are identify as not
worth retrying (know failure condition) for both scsi/ZBC and libata/ZAC.
Without these two patches, only ZBC behaves nicely (commands that are known to
fail are retried in the ZAC case).

The following 2 snmall patches are simple fixes.

The last 2 pacthes are improvements in libata error handling verbosity.

Damien Le Moal (6):
  scsi: Introduce scsi_zbc_noretry_cmd()
  libata: Use scsi_zbc_noretry_cmd() for ZAC devices
  libata: Fix comment typo in ata_eh_analyze_tf()
  libata: Fix ata_err_string()
  libata: Honor RQF_QUIET flag
  libata: Be quiet when asked to

 drivers/ata/libata-core.c |  7 ++---
 drivers/ata/libata-eh.c   | 38 ++++++++++++++++++++++++---
 drivers/ata/libata-scsi.c |  3 +++
 drivers/scsi/scsi_error.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++
 drivers/scsi/sd.c         |  2 +-
 drivers/scsi/sd.h         |  8 +++---
 drivers/scsi/sd_zbc.c     | 47 ++++-----------------------------
 include/scsi/scsi_eh.h    |  1 +
 8 files changed, 119 insertions(+), 53 deletions(-)

-- 
2.14.3




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux