commit | 78ce23b51802f5e917d89e8fc9a56dec6cc2fd5b | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Sun Jan 31 17:38:28 2016 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Feb 22 22:34:39 2016 -0500 |
tree | 9c0e4139ce06b366f089d28e7236fe0ff3953d34 | |
parent | 2eff1924e1d3f90a5e40cf4bcc18bf05d57c7c15 [diff] |
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>