Re: Repeatable, raid1+O_DIRECT, hang/warn
"Dr. David Alan Gilbert" <[email protected]>
| Newsgroups | dev.linux.lists.regressions,dev.linux.lists.dm-devel,org.kernel.vger.linux-block |
|---|---|
| Message-ID | <ajFx4zh7hgEn0EZS@gallifrey> |
* Keith Busch ([email protected]) wrote: > 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. OK, thanks for your help, and I'll be happy to test that when it's done. Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/