Mike Snitzer 16f122661d dm: optimize dm_mq_queue_rq()
DM multipath is the only dm-mq target.  But that aside, request-based DM
only supports tables with a single target that is immutable.  Leverage
this fact in dm_mq_queue_rq() by using the 'immutable_target' stored in
the mapped_device when the table was made active.  This saves the need
to even take the read-side of the SRCU via dm_{get,put}_live_table.

If the active DM table does not have an immutable target (e.g. "error"
target was swapped in) then fallback to the slow-path where the target
is looked up from the live table.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2016-02-22 11:06:22 -05:00
..
2016-01-24 18:13:37 -08:00
2015-10-31 19:06:01 -04:00
2015-10-31 19:06:01 -04:00
2015-10-31 19:05:59 -04:00
2016-01-04 10:29:12 -05:00
2015-10-31 19:05:59 -04:00
2016-02-22 11:06:22 -05:00
2015-10-31 19:06:01 -04:00
2016-02-22 11:06:22 -05:00
2016-02-22 11:06:22 -05:00
2016-02-22 11:06:22 -05:00
2016-01-20 13:52:20 -08:00
2016-01-15 12:28:00 -08:00
2016-01-15 12:28:00 -08:00
2015-12-08 14:59:19 +01:00
2015-08-13 12:31:57 -06:00
2016-01-20 13:52:20 -08:00
2016-01-20 13:52:20 -08:00
2015-11-01 13:48:29 +11:00
2016-01-20 13:52:20 -08:00