Re: [PATCH] block: fix disordered IO in the case recursive split

From: Bart Van Assche
Date: Thu Aug 21 2025 - 11:25:25 EST



On 8/21/25 2:02 AM, Christoph Hellwig wrote:
On Thu, Aug 21, 2025 at 04:56:33PM +0800, Yu Kuai wrote:
BTW, for all the io split case, should this order be fixed? I feel
we should, this disorder can happen on any stack case, where top
max_sector is greater than stacked disk.

Yes, I've been trying get Bart to fix this for a while instead of
putting in a workaround very similar to the one proposed here,
but so far nothing happened.

Does the above comment refer to the block/blk-crypto-fallback.c code? I
will leave it to Eric Biggers to move the bio splitting call from that
code into the filesystems that need it.

Bart.