Skip to content
Commit a271a89c authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm mpath: take m->lock spinlock when testing QUEUE_IF_NO_PATH



Fix multipath_end_io, multipath_end_io_bio and multipath_busy to take
m->lock while testing if MPATHF_QUEUE_IF_NO_PATH bit is set.  These are
all slow-path cases when no paths are available so extra locking isn't a
performance hit.  Correctness matters most.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 69cea0d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment