linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Use folios for symlinks in the page cache
@ 2025-05-14 17:13 Matthew Wilcox (Oracle)
  2025-05-14 17:13 ` [PATCH 1/3] fs: Convert __page_get_link() to use a folio Matthew Wilcox (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Matthew Wilcox (Oracle) @ 2025-05-14 17:13 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Matthew Wilcox (Oracle), Alexander Viro, linux-fsdevel, linux-nfs

FUSE already uses folios for its symlinks.  Mirror that conversion in
the generic code and the NFS code.  That lets us get rid of a few
folio->page->folio conversions in this path, and some of the few
remaining users of read_cache_page() / read_mapping_page().

If anyone's concerned about all the extra lines in the diffstat, it's
documentation that I've added.

Matthew Wilcox (Oracle) (3):
  fs: Convert __page_get_link() to use a folio
  nfs: Use a folio in nfs_get_link()
  fs: Pass a folio to page_put_link()

 fs/fuse/dir.c    |  2 +-
 fs/namei.c       | 48 ++++++++++++++++++++++++++++++++++++------------
 fs/nfs/symlink.c | 20 ++++++++++----------
 3 files changed, 47 insertions(+), 23 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-05-19 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14 17:13 [PATCH 0/3] Use folios for symlinks in the page cache Matthew Wilcox (Oracle)
2025-05-14 17:13 ` [PATCH 1/3] fs: Convert __page_get_link() to use a folio Matthew Wilcox (Oracle)
2025-05-14 17:13 ` [PATCH 2/3] nfs: Use a folio in nfs_get_link() Matthew Wilcox (Oracle)
2025-05-19 19:28   ` Anna Schumaker
2025-05-14 17:13 ` [PATCH 3/3] fs: Pass a folio to page_put_link() Matthew Wilcox (Oracle)
2025-05-15 10:14 ` [PATCH 0/3] Use folios for symlinks in the page cache Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).