nvme-multipath: relax ANA state check
authorMartin George <marting@netapp.com>
Wed, 27 Mar 2019 08:52:56 +0000 (09:52 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 28 Mar 2019 17:15:02 +0000 (18:15 +0100)
commitcc2278c413c3a06a93c23ee8722e4dd3d621de12
tree2a1bda1657d5ea2584dc4cd1d503d65ab0cd118b
parent988aef9e8b0dd46b55ad08b1522429739e26122d
nvme-multipath: relax ANA state check

When undergoing state transitions I/O might be requeued, hence
we should always call nvme_mpath_set_live() to schedule requeue_work
whenever the nvme device is live, independent on whether the
old state was live or not.

Signed-off-by: Martin George <marting@netapp.com>
Signed-off-by: Gargi Srinivas <sring@netapp.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/multipath.c