block: move update request helpers into blk-mq.c
authorJens Axboe <axboe@kernel.dk>
Thu, 14 Oct 2021 15:17:01 +0000 (09:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 14:50:28 +0000 (08:50 -0600)
commit9be3e06fb75abcca00c955af740fabff46a13452
treef6c15a4701fb3425e9724c73127e70d7947a5d3a
parentc477b7977838ac97dd9d20625591a5d23c8079b7
block: move update request helpers into blk-mq.c

For some reason we still have them in blk-core, with the rest of the
request completion being in blk-mq. That causes and out-of-line call
for each completion.

Move them into blk-mq.c instead, where they belong.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk.h