block: handle fast path of bio splitting inline
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Oct 2021 18:43:41 +0000 (12:43 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commitabd45c159df5fcb7ac820e2825dac85de7c01c21
tree8ab589415f5cc81205263a0813109deee6ffc067
parent09ce8744253a038eb658c14f9dc3b77fa021fc9f
block: handle fast path of bio splitting inline

The fast path is no splitting needed. Separate the handling into a
check part we can inline, and an out-of-line handling path if we do
need to split.

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