JFS folio conversion
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 2 repliesIn review
- v113 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Fix build errors on machines with PAGE_SIZE > 4096
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | jfs: Convert metapage_read_folio to use folio APIsfs/ | +13 | 0 replies | |
| 2/13 | jfs: Convert metapage_writepage to metapage_write_foliofs/ | +41 | 0 replies | |
| 3/13 | jfs: Convert __get_metapage to use a foliofs/ | +14 | 0 replies | |
| 4/13 | jfs: Convert insert_metapage() to take a foliofs/ | +13 | 0 replies | |
| 5/13 | jfs; Convert release_metapage to use a foliofs/ | +10 | 0 replies | |
| 6/13 | jfs: Convert drop_metapage and remove_metapage to take a foliofs/ | +12 | 0 replies | |
| 7/13 | jfs: Convert dec_io to take a foliofs/ | +17 | 0 replies | |
| 8/13 | jfs; Convert __invalidate_metapages to use a foliofs/ | +6 | 0 replies | |
| 9/13 | jfs: Convert page_to_mp to folio_to_mpfs/ | +12 | 0 replies | |
| 10/13 | jfs: Convert inc_io to take a foliofs/ | +8 | 0 replies | |
| 11/13 | jfs: Convert force_metapage to use a foliofs/ | +8 | 0 replies | |
| 12/13 | jfs: Change metapage->page to metapage->foliofs/ fs/ fs/ | +22 | 0 replies | |
| 13/13 | fs: Remove i_blocks_per_pageinclude/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/13] JFS folio conversion
This patchset removes uses of struct page from the I/O paths of JFS. write_begin and write_end are still passed a struct page, but they convert to a folio as their first thing. The logmgr still uses a struct page, but I think that's one we actually don't want to convert since it's never inserted into the page cache.
I've included the removal of i_blocks_per_page() in this series as JFS is the last user.
Tested with xfstests; some failures observed, but they don't seem to be related to these patches. I haven't tried with PAGE_SIZE > 4kB, so the MPS_PER_PAGE > 1 paths are untested.
v2:
- Fix build errors on machines with PAGE_SIZE > 4096
Matthew Wilcox (Oracle) (13):
jfs: Convert metapage_read_folio to use folio APIs
jfs: Convert metapage_writepage to metapage_write_folio
jfs: Convert __get_metapage to use a folio
jfs: Convert insert_metapage() to take a folio
jfs; Convert release_metapage to use a folio
jfs: Convert drop_metapage and remove_metapage to take a folio
jfs: Convert dec_io to take a folio
jfs; Convert __invalidate_metapages to use a folio
jfs: Convert page_to_mp to folio_to_mp
jfs: Convert inc_io to take a folio
jfs: Convert force_metapage to use a folio
jfs: Change metapage->page to metapage->folio
fs: Remove i_blocks_per_page
fs/jfs/jfs_logmgr.c | 2 +- fs/jfs/jfs_metapage.c | 299 ++++++++++++++++++++-------------------- fs/jfs/jfs_metapage.h | 16 +-- include/linux/pagemap.h | 6 - 4 files changed, 156 insertions(+), 167 deletions(-)
Signature · 1 line
2.43.0