Re: [PATCH RFC 7/7] block: fix disordered IO in the case recursive split
From: Christoph Hellwig
Date: Mon Aug 25 2025 - 07:07:35 EST
On Mon, Aug 25, 2025 at 05:37:00PM +0800, Yu Kuai wrote:
> +void submit_bio_noacct(struct bio *bio)
Maybe just have version of submit_bio_noacct that takes the split
argument, and make submit_bio_noacct a tiny wrapper around it? That
should create less churns than this version I think. In fact I suspect
we can actually bypass submit_bio_noacct entirely, all the checks and
accounting in it were already done when submitting the origin bio, so
the bio split helper could just call into submit_bio_noacct_nocheck
directly.