]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfd71f0efcb15a496193cb809538727a37a0e104
tree765bf96679a9230f65a3201bcf07c21dac81a8ee
parentd16a0595798405bf1a5ef559611964bdc32647f2
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