]> git.baikalelectronics.ru Git - kernel.git/commit
block: refator submit_bio_noacct
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jul 2020 08:59:45 +0000 (10:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 13:27:24 +0000 (07:27 -0600)
commit386aca3291133d6c68376911b6f30030a86fe7b8
tree5c98fe70b250bbb2164bee3eb9e09545089ed65d
parent88578b32e0fd591e5b27c1af0e00ec799629fdfc
block: refator submit_bio_noacct

Split out a __submit_bio_noacct helper for the actual de-recursion
algorithm, and simplify the loop by using a continue when we can't
enter the queue for a bio.

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