dm mpath: push path selector locking down to path selectors
authorMike Snitzer <snitzer@redhat.com>
Mon, 15 Feb 2016 19:25:00 +0000 (14:25 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 23 Feb 2016 03:34:41 +0000 (22:34 -0500)
commit9659f811446a67951127d4e81576204ffce9c86e
tree115ce6ad350c9e431c0995130b57a67e43150f24
parent21136f89d76dc10d31d294f2bb79c585a039bad6
dm mpath: push path selector locking down to path selectors

Proper locking of the lists used by the path selectors should be handled
within the selectors (relying on dm-mpath.c code's use of the m->lock
spinlock was reckless).

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-queue-length.c
drivers/md/dm-round-robin.c
drivers/md/dm-service-time.c