Skip to content
Commit 78ce23b5 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm mpath: use blk_mq_alloc_request() and blk_mq_free_request() directly



There isn't any need to support both old .request_fn and blk-mq paths
in the blk-mq specific portion of __multipath_map().  Call
blk_mq_alloc_request() directly rather than use blk_get_request().

Similarly, call blk_mq_free_request(), rather than blk_put_request(), in
multipath_release_clone().

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