Skip to content
Commit 1ae49ea2 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: split request structure out from dm_rq_target_io structure



Request-based DM support for blk-mq devices requires that
dm_rq_target_io structures not be allocated with an embedded request
structure.  The request-based DM target (e.g. dm-multipath) must
allocate the request from the blk-mq devices' request_queue using
blk_get_request().

The unfortunate side-effect of this change is old-style request-based DM
support will no longer use contiguous memory for the dm_rq_target_io and
request structures for each clone.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent dbf9782c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment