On Tue, Jun 16, 2026 at 01:08:52PM +0000, Dr. David Alan Gilbert wrote: > ( lvcreate -m 1 -L 1G main /dev/sda2 /dev/sdb2 ) rather than > the old mirror with the same patch, then: > > a) I get no log errors with either read or write > b) read still gives EIO
I've a follow up patch to handle the error properly. You want to see EINVAL, not EIO, and that error shouldn't be considered for determining the raid health. Something like what f7b24c7b41f23b5 does, but it's a little more complicated in this path since it doesn't see the lower level error status and just converts everything to EIO.
