On Fri, Jun 28, 2024 at 03:30:00PM +0100, John Garry wrote: > On 04/06/2024 05:46, Christoph Hellwig wrote: > > > It also looks like a good idea if this check was just done in > > > blk_validate_limits() so that each driver doesn't have to do their own > > > checks. That block function is kind of recent though. > > Yes. We already discussed this in another thread a few days ago. > Has anyone taken this work? I was going to unless someone else wants to. 4 > or 5 drivers directly reference blk_validate_block_size() now. I haven't look at it yet, so from my point of view feel free to tackle it.