]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9c5c2291737d7e3b536d5137d0fd10d40e819d5
treec0596a8c7bccf342e1df3dc020fdaf46f5d8d102
parent3d064a03e5b417ca94240b1bea4b6a07bcfddce3
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