linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] block/scsi/nvme: Add error codes for PR ops
@ 2022-11-09  3:11 Mike Christie
  2022-11-09  3:11 ` [PATCH 1/3] block: Add error codes for common PR failures Mike Christie
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mike Christie @ 2022-11-09  3:11 UTC (permalink / raw)
  To: kbusch, axboe, hch, sagi, martin.petersen, jejb, linux-scsi,
	linux-nvme, linux-block

The following patches were made over Linus's tree and allow the PR/pr_ops
users to handle errors without having to know the device type and also
for SCSI handle devices that require the sense code. Currently, we return
a -Exyz type of error code if the PR call fails before the drivers can
send the command and a device specific error code if it's queued. The
problem is that the callers don't always know the device type so they
can't check for specific errors like reservation conflicts, or transport
errors or invalid operations.

These patches add common error codes which callers can check for.



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

end of thread, other threads:[~2022-11-15 16:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09  3:11 [PATCH 0/3] block/scsi/nvme: Add error codes for PR ops Mike Christie
2022-11-09  3:11 ` [PATCH 1/3] block: Add error codes for common PR failures Mike Christie
2022-11-09  6:52   ` Christoph Hellwig
2022-11-09  3:11 ` [PATCH 2/3] scsi: Convert SCSI errors to PR_STS errors Mike Christie
2022-11-09  6:52   ` Christoph Hellwig
2022-11-09  3:11 ` [PATCH 3/3] nvme: Convert NVMe errors to PT_STS errors Mike Christie
2022-11-09  6:53   ` Christoph Hellwig
2022-11-09 17:20     ` Mike Christie
2022-11-15  9:14       ` Christoph Hellwig
2022-11-15 16:56         ` Mike Christie
2022-11-09  8:28   ` Chao Leng
2022-11-09 17:35     ` Mike Christie
2022-11-10  0:58       ` Chao Leng

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