[PATCH 0/3] Use folios for symlinks in the page cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux