linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/3] scsi: More detailed I/O errors
@ 2013-06-06  8:26 Hannes Reinecke
  2013-06-06  8:26 ` [PATCH 1/3] scsi: Document enhanced error codes Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hannes Reinecke @ 2013-06-06  8:26 UTC (permalink / raw)
  To: James Bottomley
  Cc: linux-scsi, Dave Chinner, Theodore T'so, linux-fsdevel,
	Ren Mingxin, Hannes Reinecke

As discussed at LSF the SCSI stack already knows about several
error conditions, it's just not well documented.
Also there are some more conditions upper layers might be
interested in.

This patchset improves the documentation of the existing
I/O error codes and adds two more error codes, ENOSPC
for thin provisioning failure and ENODATA for medium error.

Changes since the initial version, suggested by Ren Mingxin:
- Add error description to blk_update_request()
- Document missing values

Hannes Reinecke (3):
  scsi: Document enhanced error codes
  scsi: Return ENOSPC on thin provisioning failure
  scsi: Return ENODATA on medium error

 block/blk-core.c          |  6 ++++++
 drivers/scsi/scsi_error.c | 27 +++++++++++++++++++++++----
 drivers/scsi/scsi_lib.c   | 22 ++++++++++++++++++++++
 include/scsi/scsi.h       |  4 ++++
 4 files changed, 55 insertions(+), 4 deletions(-)

-- 
1.7.12.4


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/3] scsi: More detailed I/O errors
@ 2013-06-05  7:10 Hannes Reinecke
  2013-06-05  7:10 ` [PATCH 1/3] scsi: Document enhanced error codes Hannes Reinecke
  0 siblings, 1 reply; 7+ messages in thread
From: Hannes Reinecke @ 2013-06-05  7:10 UTC (permalink / raw)
  To: James Bottomley
  Cc: linux-scsi, Dave Chinner, Theodore T'so, linux-fsdevel,
	Hannes Reinecke

As discussed at LSF the SCSI stack already knows about several
error conditions, it's just not well documented.
Also there are some more conditions upper layers might be
interested in.

This patchset improves the documentation of the existing
I/O error codes and adds two more error codes, ENOSPC
for thin provisioning failure and ENODATA for medium error.

Hannes Reinecke (3):
  scsi: Document enhanced error codes
  scsi: Return ENOSPC on thin provisioning failure
  scsi: Return ENODATA on medium error

 drivers/scsi/scsi_error.c | 26 ++++++++++++++++++++++----
 drivers/scsi/scsi_lib.c   | 21 +++++++++++++++++++++
 include/scsi/scsi.h       |  4 ++++
 3 files changed, 47 insertions(+), 4 deletions(-)

-- 
1.7.12.4


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

end of thread, other threads:[~2013-06-06  8:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06  8:26 [PATCHv2 0/3] scsi: More detailed I/O errors Hannes Reinecke
2013-06-06  8:26 ` [PATCH 1/3] scsi: Document enhanced error codes Hannes Reinecke
2013-06-06  8:26 ` [PATCH 2/3] scsi: Return ENOSPC on thin provisioning failure Hannes Reinecke
2013-06-06  8:26 ` [PATCH 3/3] scsi: Return ENODATA on medium error Hannes Reinecke
  -- strict thread matches above, loose matches on Subject: below --
2013-06-05  7:10 [PATCH 0/3] scsi: More detailed I/O errors Hannes Reinecke
2013-06-05  7:10 ` [PATCH 1/3] scsi: Document enhanced error codes Hannes Reinecke
2013-06-06  5:49   ` Ren Mingxin
2013-06-06  6:58     ` Hannes Reinecke

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).