On (23/04/07 15:17), Andrew Morton wrote: > > turns out this doesn't even compile for PAGE_SIZE > 4096. > > Below is the fix, which also removes the #if and instead relies > on compiler dead code elimination. I wonder if zram should (maybe > optionally) also offer a 512 byte block size, so that we could > also test the smaller than page size I/O path even on x86. > > Link: https://lkml.kernel.org/r/20230407072224.GA8982@xxxxxx > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: Minchan Kim <minchan@xxxxxxxxxx> > Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>