]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f06509e1c34240165dd228d1fe51eeb2dea8dbd
tree8ab589415f5cc81205263a0813109deee6ffc067
parenta5e6ec3a25b97655cd2d0dda49ea0722ed6b82da
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