2023-04-05 21:08:55

by Anna Schumaker

[permalink] [raw]
Subject: [PATCH 0/2] NFS: Convert readdir to use folios

From: Anna Schumaker <[email protected]>

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(-)

--
2.40.0