Re: [PATCH 2/2] dm-raid1: don't fail the mirror for invalid I/O errors
Keith Busch <[email protected]>
| Newsgroups | dev.linux.lists.dm-devel,org.kernel.vger.linux-block |
|---|---|
| Message-ID | <ajLRTkSZJ0WCYNk4@kbusch-mbp> |
On Wed, Jun 17, 2026 at 04:44:35PM +0000, Dr. David Alan Gilbert wrote: > (It's a bit scary you're having to go around quite > a few places and make similar fixes; I assume there > are others that do similar things). Yes, I understand that. I'm looking into a common way to validate this. The md raid doesn't have this problem because they always call bio_split_to_limits() first, but that's not an optimal thing to do for dm raid in the normal read/write path, so perhaps a common checker needs to happen generically in the block layer. Yeah, I know I removed the previous higher level validation ... I'll try find something less costly than what we had before.