block: make bio_queue_enter() fast-path available inline
authorJens Axboe <axboe@kernel.dk>
Thu, 4 Nov 2021 18:45:51 +0000 (12:45 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Nov 2021 18:54:33 +0000 (12:54 -0600)
commitc98cb5bbdab10d187aff9b4e386210eb2332af96
treeb1cbcd39a591ee32896da9146abb490fa34d9183
parent71539717c10521114403d27e171c9cbe35dcd900
block: make bio_queue_enter() fast-path available inline

Just a prep patch for shifting the queue enter logic. This moves the
expected fast path inline, and leaves __bio_queue_enter() as an
out-of-line function call. We don't want to inline the latter, as it's
mostly slow path code.

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