blk-mq: add blk_mq_free_hctx_request()
authorJens Axboe <axboe@fb.com>
Mon, 17 Nov 2014 17:41:57 +0000 (10:41 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:56 +0000 (12:54 -0600)
commit4572e6c6d98c36b55bc87604c73cb7e23822c9f3
tree3a962703cafc20e0fb5b3d86322dd1d6d4304f77
parenteabfb688df671c99bb5a1f62692a34fbf0e217ba
blk-mq: add blk_mq_free_hctx_request()

It's silly to use blk_mq_free_request() which in turn maps the
request to the hardware queue, for places where we already know
what the hardware queue is. This saves us an extra mapping of a
hardware queue on request completion, if the caller knows this
information already.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h