On Mon, Dec 22, 2025 at 11:18:40PM +0100, Christoph Hellwig wrote: > That will now leak the pages that were successfully added to the bio. > > I end up with a version that just adds the pages to the bio even > on failure. I've pushed the branch here: > > https://git.infradead.org/?p=users/hch/misc.git;a=shortlog;h=refs/heads/blk-crypto-fallback > > but I plan to come up with error injection to actually test this > patch given the amount of trouble it caused.
I've done a bit of manual testing on the new version only for now. Keith has been looking into proper testing of unaligned dio vectors for blktests and xfstests, and once that gets resent I plan to use that framework to test for error handling of unaligned I/O to formalize this testing.
