]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: stop queueing IO when no valid paths exist
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 13 Aug 2014 18:53:42 +0000 (13:53 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 6 Oct 2014 00:03:35 +0000 (20:03 -0400)
commit6f27e20623a2ce9f727643330762479b35a13c43
treee0dba45e8ca30c73ef29526223f9fd01d2218ab2
parent231f29acd1668418a64019824ea6a57f2aba52cc
dm mpath: stop queueing IO when no valid paths exist

'queue_io' is set so that IO is queued while paths are being
initialized.  Clear queue_io in __choose_pgpath if there are no valid
paths, since there are obviously no paths that can be initialized.
Otherwise IOs to the device will back up.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c