mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
block: skip unnecessary checks for split bio
[ Upstream commit0b64682e78] Lots of checks are already done while submitting this bio the first time, and there is no need to check them again when this bio is resubmitted after split. Hence open code should_fail_bio() and blk_throtl_bio() that are still necessary from submit_bio_split_bioset(). Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> Stable-dep-of:b2f5974079("block: fix ordering of recursive split IO") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9f7b1537e3
commit
14d4f1eaa6
3 changed files with 7 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue