blk-mq: open code __blk_mq_alloc_request in blk_mq_alloc_request_hctx
authorChristoph Hellwig <hch@lst.de>
Fri, 29 May 2020 13:53:13 +0000 (15:53 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 May 2020 16:23:25 +0000 (10:23 -0600)
commit600c3b0cea784aaba77df3ed4a6b4f2ebfa935ce
treec0596a8c7bccf342e1df3dc020fdaf46f5d8d102
parent766473681c131f2da81d62472864c8c97e021373
blk-mq: open code __blk_mq_alloc_request in blk_mq_alloc_request_hctx

blk_mq_alloc_request_hctx is only used for NVMeoF connect commands, so
tailor it to the specific requirements, and don't bother the general
fast path code with its special twinkles.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c