]> git.baikalelectronics.ru Git - kernel.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)
commitaf012da79fdf2ff41bc943b28402a9079a55e6c6
tree51d9bde75f399db750f2b143481841b97105fe00
parentb2c1ba0165822fbf1c931ad287839d720bae94ee
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