On 5/27/25 9:19 AM, Bart Van Assche wrote:
I'm still working on a reproducer for the blktests framework. To my own frustration I have not yet found a small reproducer that is easy to run by others. I'm convinced that it should be possible to create a reproducer that is based on dm-crypt since dm-crypt and the dm-default- key driver behave identically with regard to bio splitting.
(replying to my own email) I have not yet found a small reproducer - not even against the kernel this issue was originally observed with (android16-6.12). So I switched my approach. I'm now working on obtaining more information about the queued bios when this issue occurs. It seems like a bio for a SCSI disk device that shouldn't be split is split anyway. A bio A that does not cross a zone boundary is split into bios A1 and A2 and bio A1 is split into bios A11 and A12. Bio A12 is added at the end of the list (past bio A2) and this causes the reordering. I'm currently analyzing why this happens because this shouldn't happen. Bart.