From: Damien Le Moal <damien.lemoal@wdc.com>
To: linux-scsi@vger.kernel.org,
"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: [PATCH v2 0/3] Improve error handling
Date: Thu, 10 Sep 2020 16:48:40 +0900 [thread overview]
Message-ID: <20200910074843.217661-1-damien.lemoal@wdc.com> (raw)
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
next reply other threads:[~2020-09-10 7:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 7:48 Damien Le Moal [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200910074843.217661-1-damien.lemoal@wdc.com \
--to=damien.lemoal@wdc.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).