The first patch is a left-over from last cycle. The rest fix "obvious" block size > PAGE_SIZE problems. I haven't tested with a large block size setup (but I have done an ext4 xfstests run). v2: - Pick up R-b tags from Pankaj - Use div_u64() instead of a raw divide. Thanks, i386. - Add a patch for __block_write_begin_int(), spotted by Ryusuke Konishi - That inspired the seventh patch which finally eliminates block_size_bits(). Matthew Wilcox (Oracle) (7): buffer: Return bool from grow_dev_folio() buffer: Calculate block number inside folio_init_buffers() buffer: Fix grow_buffers() for block size > PAGE_SIZE buffer: Cast block to loff_t before shifting it buffer: Fix various functions for block size > PAGE_SIZE buffer: Handle large folios in __block_write_begin_int() buffer: Fix more functions for block size > PAGE_SIZE fs/buffer.c | 130 +++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 77 deletions(-) -- 2.42.0