blk-mq: add blk_mq_alloc_request_hctx
authorMing Lin <ming.l@ssi.samsung.com>
Mon, 13 Jun 2016 14:45:21 +0000 (16:45 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 5 Jul 2016 17:28:07 +0000 (11:28 -0600)
commit1f5bd336b9150560458b03460cbcfcfbcf8995b1
tree92fd38e4125cb0d032acce9f7abfb2d6b0538ab7
parent9e2d23f19ef6e8a08348c8f59f79805c6cb25fe6
blk-mq: add blk_mq_alloc_request_hctx

For some protocols like NVMe over Fabrics we need to be able to send
initialization commands to a specific queue.

Based on an earlier patch from Christoph Hellwig <hch@lst.de>.

Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
[hch: disallow sleeping allocation, req_op fixes]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h
This page took 0.043848 seconds and 5 git commands to generate.