gfs2 filesystem and dlm development
 help / color / mirror / Atom feed
* [PATCH 0/8] More GFS2 folio conversions
@ 2025-02-10 13:34 Matthew Wilcox (Oracle)
  2025-02-10 13:34 ` [PATCH 1/8] gfs2: Use b_folio in gfs2_log_write_bh() Matthew Wilcox (Oracle)
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Matthew Wilcox (Oracle) @ 2025-02-10 13:34 UTC (permalink / raw)
  To: Andreas Gruenbacher; +Cc: Matthew Wilcox (Oracle), gfs2, linux-fsdevel

I think this may be the last batch of patches to gfs2 for folio
conversions.  The only remaining references to struct page that I see are
for filesystem metadata that isn't stored in the page cache, so those are
fine to continue using struct page.  The only mild improvement would be if
we could have different bio completion handlers for gfs2_end_log_write()
when it's using mempool pages vs folio pages, but that may not even be
feasible and I like the current solution well enough.

This all seems fairly straightforward to me, but as usual only
compile-tested.  I don't anticipate the change to buffer_head.h to have
any conflicts; removing the last user of page_buffers() is not on the
cards for the next merge window.

Matthew Wilcox (Oracle) (8):
  gfs2: Use b_folio in gfs2_log_write_bh()
  gfs2: Use b_folio in gfs2_trans_add_meta()
  gfs2: Use b_folio in gfs2_submit_bhs()
  gfs2: Use b_folio in gfs2_check_magic()
  gfs2: Convert gfs2_jhead_pg_srch() to gfs2_jhead_folio_srch()
  gfs2: Convert gfs2_find_jhead() to use a folio
  gfs2: Convert gfs2_end_log_write_bh() to work on a folio
  gfs2: Convert gfs2_meta_read_endio() to use a folio

 fs/gfs2/lops.c              | 69 ++++++++++++++++++-------------------
 fs/gfs2/meta_io.c           | 15 ++++----
 fs/gfs2/trans.c             |  4 +--
 include/linux/buffer_head.h |  1 -
 4 files changed, 43 insertions(+), 46 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-03-10 18:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 13:34 [PATCH 0/8] More GFS2 folio conversions Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 1/8] gfs2: Use b_folio in gfs2_log_write_bh() Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 2/8] gfs2: Use b_folio in gfs2_trans_add_meta() Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 3/8] gfs2: Use b_folio in gfs2_submit_bhs() Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 4/8] gfs2: Use b_folio in gfs2_check_magic() Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 5/8] gfs2: Convert gfs2_jhead_pg_srch() to gfs2_jhead_folio_srch() Matthew Wilcox (Oracle)
2025-02-10 13:34 ` [PATCH 6/8] gfs2: Convert gfs2_find_jhead() to use a folio Matthew Wilcox (Oracle)
2025-03-09 19:43   ` Andreas Gruenbacher
2025-02-10 13:34 ` [PATCH 7/8] gfs2: Convert gfs2_end_log_write_bh() to work on " Matthew Wilcox (Oracle)
2025-03-09 17:33   ` Andreas Gruenbacher
2025-03-09 20:57     ` Matthew Wilcox
2025-03-09 21:53       ` Andreas Gruenbacher
2025-03-10  3:46         ` Matthew Wilcox
2025-03-10 18:14           ` Andreas Gruenbacher
2025-02-10 13:34 ` [PATCH 8/8] gfs2: Convert gfs2_meta_read_endio() to use " Matthew Wilcox (Oracle)
2025-02-20 13:51 ` [PATCH 0/8] More GFS2 folio conversions Matthew Wilcox
2025-03-09 17:33   ` Andreas Gruenbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox