summaryrefslogtreecommitdiff
path: root/drivers/md/dm-queue-length.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-01-31 22:38:28 (GMT)
committerMike Snitzer <snitzer@redhat.com>2016-02-23 03:34:39 (GMT)
commit78ce23b51802f5e917d89e8fc9a56dec6cc2fd5b (patch)
tree9c0e4139ce06b366f089d28e7236fe0ff3953d34 /drivers/md/dm-queue-length.c
parent2eff1924e1d3f90a5e40cf4bcc18bf05d57c7c15 (diff)
downloadlinux-78ce23b51802f5e917d89e8fc9a56dec6cc2fd5b.tar.xz
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: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-queue-length.c')
0 files changed, 0 insertions, 0 deletions