commit | e02ab0230489461fd9fdd8028841dae6f03a4874 | [log] [tgz] |
---|---|---|
author | Junxiong Guan <guanjunxiong@huawei.com> | Fri Apr 21 12:59:07 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Apr 21 16:41:56 2017 +0200 |
tree | a79eccba5ffc641c0488479110f6244c89b3731f | |
parent | 7776db1ccc123d5944a8c170c9c45f7e91d49643 [diff] |
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: Junxiong Guan <guanjunxiong@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de>