]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5c547ef5659434cb54e79173bc23bde7c603c3d
treeb1cbcd39a591ee32896da9146abb490fa34d9183
parent69e00aae205c492ccae000096433eeb2f0894daa
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