mbox series

[00/23] Convert ocfs2 to use folios

Message ID 20241205171653.3179945-1-willy@infradead.org (mailing list archive)
Headers show
Series Convert ocfs2 to use folios | expand

Message

Matthew Wilcox (Oracle) Dec. 5, 2024, 5:16 p.m. UTC
Mark did a conversion of ocfs2 to use folios and sent it to me as a
giant patch for review ;-)

So I've redone it as individual patches, and credited Mark for the patches
where his code is substantially the same.  It's not a bad way to do it;
his patch had some bugs and my patches had some bugs.  Hopefully all
our bugs were different from each other.  And hopefully Mark likes all
the changes I made to his code!

The first patch is really independent of the rest, but a later patch
depends on it, so I don't want to send it separately.

Mark Tinguely (17):
  ocfs2: Convert w_target_page to w_target_folio
  ocfs2: Use a folio in ocfs2_zero_new_buffers()
  ocfs2: Use a folio in ocfs2_write_begin_inline()
  ocfs2: Convert ocfs2_readpage_inline() to take a folio
  ocfs2: Convert ocfs2_inode_lock_with_page() to
    ocfs2_inode_lock_with_folio()
  ocfs2: Convert w_pages to w_folios
  ocfs2: Convert ocfs2_write_failure() to use a folio
  ocfs2: Use a folio in ocfs2_write_end_nolock()
  ocfs2: Use a folio in ocfs2_prepare_page_for_write()
  ocfs2: Use a folio in ocfs2_map_and_dirty_page()
  ocfs2: Convert ocfs2_map_page_blocks() to ocfs2_map_folio_blocks()
  ocfs2: Convert ocfs2_clear_page_regions() to
    ocfs2_clear_folio_regions()
  ocfs2: Use an array of folios instead of an array of pages
  ocfs2: Convert ocfs2_duplicate_clusters_by_page() to use a folio
  ocfs2: Convert ocfs2_map_and_dirty_page() to
    ocfs2_map_and_dirty_folio()
  ocfs2: Support large folios in ocfs2_zero_cluster_folios()
  ocfs2: Support large folios in ocfs2_write_zero_page()

Matthew Wilcox (Oracle) (6):
  ocfs2: Handle a symlink read error correctly
  ocfs2: Convert ocfs2_page_mkwrite() to use a folio
  ocfs2: Pass mmap_folio around instead of mmap_page
  ocfs2: Convert ocfs2_read_inline_data() to take a folio
  ocfs2: Use a folio in ocfs2_fast_symlink_read_folio()
  ocfs2: Remove ocfs2_start_walk_page_trans() prototype

 fs/ocfs2/alloc.c        | 132 ++++++++--------
 fs/ocfs2/alloc.h        |   8 +-
 fs/ocfs2/aops.c         | 335 +++++++++++++++++++---------------------
 fs/ocfs2/aops.h         |  17 +-
 fs/ocfs2/dlmglue.c      |  18 +--
 fs/ocfs2/dlmglue.h      |   6 +-
 fs/ocfs2/file.c         |   8 +-
 fs/ocfs2/mmap.c         |  18 +--
 fs/ocfs2/refcounttree.c |  35 ++---
 fs/ocfs2/symlink.c      |  16 +-
 10 files changed, 276 insertions(+), 317 deletions(-)