Re: [PATCH v3 1/6] btrfs: don't drop the error of the last split bio
From: Miroslav Cimerman
Date: Mon Nov 23 2026 - 14:08:42 EST
I hit this on a RAID10 file system (not zoned, 4 null_blk devices) with
bad blocks on both copies of one mirror pair, on for-next 65101fe10b30.
Reading four 1 MiB files with dd returned EIO. After
"echo 3 > /proc/sys/vm/drop_caches", sha1sum of the same files returned
no error and a wrong hash for each file, in 2 of 2 runs. A dd of one of
them right after returned all 1 MiB with about half of the bytes wrong.
With this patch, all of these reads failed with EIO, in 2 of 2 runs.
Tested-by: Miroslav Cimerman <mc@xxxxxxxxxxx>