dm: prepare for allocating blk-mq clone requests in target
authorKeith Busch <keith.busch@intel.com>
Fri, 17 Oct 2014 23:46:37 +0000 (17:46 -0600)
committerMike Snitzer <snitzer@redhat.com>
Mon, 9 Feb 2015 18:06:47 +0000 (13:06 -0500)
commit466d89a6bcd500f64896b514f78b32e8d0b0303a
tree765bf96679a9230f65a3201bcf07c21dac81a8ee
parent2eb6e1e3aa873f2bb62075bebe17fa108ee07374
dm: prepare for allocating blk-mq clone requests in target

For blk-mq request-based DM the responsibility of allocating a cloned
request will be transfered from DM core to the target type.

To prepare for conditionally using this new model the original
request's 'special' now points to the dm_rq_target_io because the
clone is allocated later in the block layer rather than in DM core.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c