diff options
author | 2020-06-10 16:07:57 -0400 | |
---|---|---|
committer | 2020-07-13 11:47:32 -0400 | |
commit | a271a89c6e4773478b1c4f8213dfe8351ea66723 (patch) | |
tree | 441d280d312781aaba5dbbfd6611184109f007c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm mpath: changes from initial m->flags locking audit (diff) | |
download | wireguard-linux-a271a89c6e4773478b1c4f8213dfe8351ea66723.tar.xz wireguard-linux-a271a89c6e4773478b1c4f8213dfe8351ea66723.zip |
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: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions