linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Improve error handling
@ 2020-09-10  7:48 Damien Le Moal
  2020-09-10  7:48 ` [PATCH v2 1/3] scsi: Cleanup scsi_noretry_cmd() Damien Le Moal
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Damien Le Moal @ 2020-09-10  7:48 UTC (permalink / raw)
  To: linux-scsi, Martin K . Petersen

A small series to improve command error hadling.

The first patch is a simple code cleanup. The second patch updates
asc/ascq sense codes list. Finally, the third patch adds zone resource
errors handling for zoned block deives to return BLK_STS_DEV_RESOURCE,
similarly to what the NVMe driver does for ZNS devices.

Changes form v1:
* Removed unnecessary temporary debug message in patch 3

Damien Le Moal (3):
  scsi: Cleanup scsi_noretry_cmd()
  scsi: update additional sense codes list
  scsi: handle zone resources errors

 drivers/scsi/scsi_error.c  |  4 +--
 drivers/scsi/scsi_lib.c    |  9 +++++++
 drivers/scsi/sense_codes.h | 54 +++++++++++++++++++++++++++++++++++++-
 3 files changed, 64 insertions(+), 3 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-09-22  3:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  7:48 [PATCH v2 0/3] Improve error handling Damien Le Moal
2020-09-10  7:48 ` [PATCH v2 1/3] scsi: Cleanup scsi_noretry_cmd() Damien Le Moal
2020-09-10  8:05   ` Johannes Thumshirn
2020-09-10 15:45   ` Himanshu Madhani
2020-09-10  7:48 ` [PATCH v2 2/3] scsi: update additional sense codes list Damien Le Moal
2020-09-10  8:08   ` Johannes Thumshirn
2020-09-10 15:46   ` Himanshu Madhani
2020-09-10  7:48 ` [PATCH v2 3/3] scsi: handle zone resources errors Damien Le Moal
2020-09-10 15:46   ` Himanshu Madhani
2020-09-16  0:29 ` [PATCH v2 0/3] Improve error handling Martin K. Petersen
2020-09-16  1:11   ` Damien Le Moal
2020-09-22  3:56 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).