More buffer_head cleanups
Status from this message: [merged mm-stable] buffer-fix-more-functions-for-block-size-page_size.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 17 repliesApplied 7/7
- v15 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- 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().
Patches in v2 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | buffer: Return bool from grow_dev_folio()fs/ | +25 | 3 replies | Applied |
| 2/7 | buffer: Calculate block number inside folio_init_buffers()fs/ | +6 | 0 replies | Applied |
| 3/7 | buffer: Fix grow_buffers() for block size > PAGE_SIZEfs/ | +6 | 6 replies | Applied |
| 4/7 | buffer: Cast block to loff_t before shifting itfs/ | +1 | 0 replies | Applied |
| 5/7 | buffer: Fix various functions for block size > PAGE_SIZEfs/ | +5 | 3 replies | Applied |
| 6/7 | buffer: Handle large folios in __block_write_begin_int()fs/ | +7 | 0 replies | Applied |
| 7/7 | buffer: Fix more functions for block size > PAGE_SIZEfs/ | +6 | 5 replies | Applied |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Pankaj Raghav |
|---|---|
| 1/7 | |
| 2/7 | R-b |
| 3/7 | |
| 4/7 | |
| 5/7 | R-b |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] More buffer_head cleanups
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(-)
Signature · 1 line
2.42.0