linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Failover criteria unification
@ 2018-01-04 22:46 Keith Busch
  2018-01-04 22:46 ` [PATCH 1/5] nvme: Add more command status translation Keith Busch
                   ` (5 more replies)
  0 siblings, 6 replies; 30+ messages in thread
From: Keith Busch @ 2018-01-04 22:46 UTC (permalink / raw)
  To: Linux Block, Linux NVMe, Device Mapper, Christoph Hellwig,
	Mike Snitzer, Jens Axboe
  Cc: Bart VanAssche, James Smart, Martin K . Petersen, Hannes Reinecke,
	Sagi Grimberg, Keith Busch

The nvme native multipath provided a separate NVMe status decoder,
complicating maintenance as new statuses need to be accounted for. This
was already diverging from the generic nvme status decoder, which has
implications for other components that rely on accurate generic block
errors.

This series unifies common code among nvme and device-mapper multipath
so that user experience regarding the failover fate of a command is the
same.

Mike:

I split this up because I thought there'd be trouble merging the dm
mpath update with the inverted retry logic, but I think you may have
rebased the dm-4.16 without that patch, as I'm not seeing it in the most
current branch.

Keith Busch (5):
  nvme: Add more command status translation
  nvme/multipath: Consult blk_status_t for failover
  block: Provide blk_status_t decoding for retryable errors
  nvme/multipath: Use blk_retryable
  dm mpath: Use blk_retryable

 drivers/md/dm-mpath.c         | 19 ++-----------------
 drivers/nvme/host/core.c      | 15 +++++++++++----
 drivers/nvme/host/multipath.c | 44 ++-----------------------------------------
 drivers/nvme/host/nvme.h      |  4 ++--
 include/linux/blk_types.h     | 16 ++++++++++++++++
 5 files changed, 33 insertions(+), 65 deletions(-)

-- 
2.13.6

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

end of thread, other threads:[~2018-01-09 17:40 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 22:46 [PATCH 0/5] Failover criteria unification Keith Busch
2018-01-04 22:46 ` [PATCH 1/5] nvme: Add more command status translation Keith Busch
2018-01-04 23:41   ` Mike Snitzer
2018-01-08  8:39   ` Hannes Reinecke
2018-01-08  9:55   ` Christoph Hellwig
2018-01-08 10:09     ` Hannes Reinecke
2018-01-08 10:19       ` Christoph Hellwig
2018-01-08 15:29         ` Mike Snitzer
2018-01-08 15:34           ` Christoph Hellwig
2018-01-08 16:12             ` Keith Busch
2018-01-04 22:46 ` [PATCH 2/5] nvme/multipath: Consult blk_status_t for failover Keith Busch
2018-01-04 23:42   ` Mike Snitzer
2018-01-08  8:57   ` Hannes Reinecke
2018-01-08  9:57   ` Christoph Hellwig
2018-01-09 17:38     ` Keith Busch
2018-01-09 17:40       ` Christoph Hellwig
2018-01-04 22:46 ` [PATCH 3/5] block: Provide blk_status_t decoding for retryable errors Keith Busch
2018-01-04 23:43   ` Mike Snitzer
2018-01-08  8:58   ` Hannes Reinecke
2018-01-08  9:58   ` Christoph Hellwig
2018-01-04 22:46 ` [PATCH 4/5] nvme/multipath: Use blk_retryable Keith Busch
2018-01-04 23:44   ` Mike Snitzer
2018-01-08  8:58   ` Hannes Reinecke
2018-01-04 22:46 ` [PATCH 5/5] dm mpath: " Keith Busch
2018-01-04 23:45   ` Mike Snitzer
2018-01-08  8:59   ` Hannes Reinecke
2018-01-04 23:36 ` [PATCH 0/5] Failover criteria unification Mike Snitzer
2018-01-04 23:47   ` Keith Busch
2018-01-05  0:07     ` Mike Snitzer
2018-01-08  9:58     ` Christoph Hellwig

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