mbox series

[0/2] NFS: Convert readdir to use folios

Message ID 20230405205918.228394-1-anna@kernel.org (mailing list archive)
Headers show
Series NFS: Convert readdir to use folios | expand

Message

Anna Schumaker April 5, 2023, 8:59 p.m. UTC
From: Anna Schumaker <Anna.Schumaker@Netapp.com>

This is a 1-1 update of the readdir code to folios instead of pages
during decode. One thing I'm still thinking about is converting the
array-of-folios into a single compound-page folio, but this would
involve a larger rewrite due to how the current code is structured
around grabbing cache pages as needed (and as far as I know, the
pagecache is still oriented around single pages, not compound pages).

Thoughts?
Anna

Anna Schumaker (2):
  NFS: Convert the readdir array-of-pages into an array-of-folios
  NFS: Convert readdir page array functions to use a folio

 fs/nfs/dir.c | 300 +++++++++++++++++++++++++--------------------------
 1 file changed, 149 insertions(+), 151 deletions(-)