Skip to content

NFS: Convert readdir to use folios

Anna Schumaker linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NFS: Convert the readdir array-of-pages into an array-of-foliosfs/nfs/dir.c+65 -640 replies
2/2NFS: Convert readdir page array functions to use a foliofs/nfs/dir.c+99 -1020 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.40.0