dm mpath: use blk_mq_alloc_request() and blk_mq_free_request() directly
authorMike Snitzer <snitzer@redhat.com>
Sun, 31 Jan 2016 22:38:28 +0000 (17:38 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 23 Feb 2016 03:34:39 +0000 (22:34 -0500)
commit78ce23b51802f5e917d89e8fc9a56dec6cc2fd5b
tree9c0e4139ce06b366f089d28e7236fe0ff3953d34
parent2eff1924e1d3f90a5e40cf4bcc18bf05d57c7c15
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>
drivers/md/dm-mpath.c