On Thu, Apr 06, 2023 at 10:44:49AM +0900, Sergey Senozhatsky wrote: > On (23/04/04 17:05), Christoph Hellwig wrote: > > All bios hande to drivers from the block layer are checked against the > > device size and for logical block alignment already, so don't duplicate > > those checks. > > Has this changed "recently"? I can trace that valid_io() function back > to initial zram commit 306b0c957f3f0e7 (Staging: virtual block device > driver (ramzswap)). Was that check always redundant? It was always redundant.