]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm mpath: push back requests instead of queueing
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2014 14:33:44 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:24 +0000 (16:56 -0400)
commite809917735ebf1b9a56c24e877ce0d320baee2ec
tree51d9bde75f399db750f2b143481841b97105fe00
parent9974fa2c6a7d470ca3c201fe7dbac64bf4dd8d2a
dm mpath: push back requests instead of queueing

There is no reason why multipath needs to queue requests internally for
queue_if_no_path or pg_init; we should rather push them back onto the
request queue.

And while we're at it we can simplify the conditional statement in
map_io() to make it easier to read.

Since mpath no longer does internal queuing of I/O the table info no
longer emits the internal queue_size.  Instead it displays 1 if queuing
is being used or 0 if it is not.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
drivers/md/dm-mpath.c