diff options
author | John Meneghini <johnm@netapp.com> | 2020-02-20 10:05:38 +0900 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-03-26 04:51:55 +0900 |
commit | 764e9332098c0e60251386a507fe46ac91276120 (patch) | |
tree | 7533901cff86e776f11c8e7f0c2592abf796533e /.clang-format | |
parent | c363f249e7e6576587d8982d9087406fe98beb99 (diff) | |
download | linux-764e9332098c0e60251386a507fe46ac91276120.tar.bz2 |
nvme-multipath: do not reset on unknown status
The nvme multipath error handling defaults to controller reset if the
error is unknown. There are, however, no existing nvme status codes that
indicate a reset should be used, and resetting causes unnecessary
disruption to the rest of IO.
Change nvme's error handling to first check if failover should happen.
If not, let the normal error handling take over rather than reset the
controller.
Based-on-a-patch-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: John Meneghini <johnm@netapp.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions