Skip to content

SUNRPC: Convert the scratch page into a scratch folio

Anna Schumaker linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sunrpc: Introduce xdr_set_scratch_folio()include/linux/sunrpc/xdr.h+13 -00 replies
1/9SUNRPC: Introduce xdr_set_scratch_folio()include/linux/sunrpc/xdr.h+13 -00 replies
2/9NFS: Update readdir to use a scratch foliofs/nfs/dir.c+4 -40 replies
3/9NFS: Update getacl to use xdr_set_scratch_folio()fs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c include/linux/nfs_xdr.h+4 -40 replies
4/9NFS: Update listxattr to use xdr_set_scratch_folio()fs/nfs/nfs42proc.c fs/nfs/nfs42xdr.c include/linux/nfs_xdr.h+4 -40 replies
5/9NFS: Update the blocklayout to use xdr_set_scratch_folio()fs/nfs/blocklayout/blocklayout.c fs/nfs/blocklayout/dev.c+8 -80 replies
6/9NFS: Update the filelayout to use xdr_set_scratch_folio()fs/nfs/filelayout/filelayout.c fs/nfs/filelayout/filelayoutdev.c+10 -100 replies
7/9NFS: Update the flexfilelayout driver to use xdr_set_scratch_folio()fs/nfs/flexfilelayout/flexfilelayout.c fs/nfs/flexfilelayout/flexfilelayoutdev.c+9 -90 replies
8/9SUNRPC: Update svcxdr_init_decode() to call xdr_set_scratch_folio()include/linux/sunrpc/svc.h net/sunrpc/svc.c+7 -70 replies
9/9SUNRPC: Update gssx_accept_sec_context() to use xdr_set_scratch_folio()include/linux/sunrpc/xdr.h net/sunrpc/auth_gss/gss_rpc_xdr.c+4 -170 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/9] SUNRPC: Convert the scratch page into a scratch folio

From: Anna Schumaker <[email protected]>

This is the first of a handful of patchsets I've been working on to convert our usage of 'struct page's into 'struct folio's. I figured I would start things off easy with converting the scratch page set to the xdr_buf before I dive into converting over the page array.

What do you all think?
Anna

Anna Schumaker (9):
SUNRPC: Introduce xdr_set_scratch_folio()
NFS: Update readdir to use a scratch folio
NFS: Update getacl to use xdr_set_scratch_folio()
NFS: Update listxattr to use xdr_set_scratch_folio()
NFS: Update the blocklayout to use xdr_set_scratch_folio()
NFS: Update the filelayout to use xdr_set_scratch_folio()
NFS: Update the flexfilelayout driver to use xdr_set_scratch_folio()
SUNRPC: Update svcxdr_init_decode() to call xdr_set_scratch_folio()
SUNRPC: Update gssx_accept_sec_context() to use
xdr_set_scratch_folio()

 fs/nfs/blocklayout/blocklayout.c          |  8 ++++----
 fs/nfs/blocklayout/dev.c                  |  8 ++++----
 fs/nfs/dir.c                              |  8 ++++----
 fs/nfs/filelayout/filelayout.c            | 10 +++++-----
 fs/nfs/filelayout/filelayoutdev.c         | 10 +++++-----
 fs/nfs/flexfilelayout/flexfilelayout.c    |  8 ++++----
 fs/nfs/flexfilelayout/flexfilelayoutdev.c | 10 +++++-----
 fs/nfs/nfs42proc.c                        |  4 ++--
 fs/nfs/nfs42xdr.c                         |  2 +-
 fs/nfs/nfs4proc.c                         |  4 ++--
 fs/nfs/nfs4xdr.c                          |  2 +-
 include/linux/nfs_xdr.h                   |  4 ++--
 include/linux/sunrpc/svc.h                |  4 ++--
 include/linux/sunrpc/xdr.h                |  8 ++++----
 net/sunrpc/auth_gss/gss_rpc_xdr.c         |  8 ++++----
 net/sunrpc/svc.c                          | 10 +++++-----
 16 files changed, 54 insertions(+), 54 deletions(-)
Signature · 1 line
2.51.0