]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 9 Feb 2016 15:05:41 +0000 (10:05 -0500)
commitb6a58d6c2b4fbd8a2ac073a9aa56d8891af4a33b
treee3a11c6d1e7657a34d92ffc15773176f57284bb6
parentdf12ccf20abebaf444256ee83e0d8b6fcc146859
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