* Keith Busch ([email protected]) wrote: > 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.
OK, thanks again (and to Thomas for gluing my query to those other two which got this moving!) 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 |_______/
