blk-mq: move the call to blk_queue_enter_live out of blk_mq_get_request
authorChristoph Hellwig <hch@lst.de>
Sat, 16 May 2020 18:27:58 +0000 (20:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 15:34:29 +0000 (09:34 -0600)
commita5ea5811058ddb91da604afe77acd5ff29babe29
treef4fa697027404c6669c122f8ace5e14dd22f7646
parent870c153cf0e6df1b8b5226af41b19945e8e0d143
blk-mq: move the call to blk_queue_enter_live out of blk_mq_get_request

Move the blk_queue_enter_live calls into the callers, where they can
successively be cleaned up.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c