]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea42b0b6bbc159ae54df3f0ca1023bffa13db648
tree2a1bda1657d5ea2584dc4cd1d503d65ab0cd118b
parent5872fc1d1804619aa6607b684c1be4641a568822
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