OSDN Git Service

dm mpath: remove repeat_count support from multipath core
authorMike Snitzer <snitzer@redhat.com>
Wed, 10 Feb 2016 16:58:45 +0000 (11:58 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 23 Feb 2016 03:34:40 +0000 (22:34 -0500)
commit21136f89d76dc10d31d294f2bb79c585a039bad6
tree6d1fe59d7561962f7f661d2cdd0e1e1d9a617347
parent7943bd6dd3e71b9e3679bcd254206d86083e1df2
dm mpath: remove repeat_count support from multipath core

Preparation for making __multipath_map() avoid taking the m->lock
spinlock -- in favor of using RCU locking.

repeat_count was primarily for bio-based DM multipath's benefit.  There
is really no need for it anymore now that DM multipath is request-based.
As such, repeat_count > 1 is no longer honored and a warning is
displayed if the user attempts to use a value > 1.  This is a temporary
change for the round-robin path-selector (as a later commit will restore
its support for repeat_count > 1).

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