Skip to content
Commit e02ab023 authored by Junxiong Guan's avatar Junxiong Guan Committed by Christoph Hellwig
Browse files

nvme: let dm-mpath distinguish nvme error codes



Currently most IOs which return the nvme error codes are retried on
the other path if those IOs returns EIO from NVMe driver. This
patch let Multipath distinguish nvme media error codes and some
generic or cmd-specific nvme error codes so that multipath will
not retry those kinds of IO, to save bandwidth.

Signed-off-by: default avatarJunxiong Guan <guanjunxiong@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 7776db1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment