Skip to content

RFC Reduce reply buffer requirements

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5SUNRPC: Introduce rpc_prepare_reply_pages()fs/nfs/nfs2xdr.c fs/nfs/nfs3xdr.c fs/nfs/nfs4xdr.c +4 more+102 -730 replies
2/5NFS: Account for XDR pad of buf->pagesfs/nfs/nfs2xdr.c fs/nfs/nfs3xdr.c fs/nfs/nfs4xdr.c +2 more+23 -160 replies
3/5SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsizeinclude/linux/sunrpc/auth.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_null.c +1 more+7 -30 replies
4/5SUNRPC: Add rpc_auth::au_ralign fieldinclude/linux/sunrpc/auth.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_null.c +2 more+20 -110 replies
5/5SUNRPC: Use au_rslack when computing reply buffer sizenet/sunrpc/clnt.c+4 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/5] Reduce reply buffer requirements

Hi-

Last set I have for consideration for v5.1, please review and comment.

My interest is in reducing the size of the RPC reply buffer, since for RDMA, this is often registered memory. If I can get away with one or two fewer chunks here and there, that helps improve transport scalability.

These are a little incomplete and tasteless. I'm hoping someone can help me give them a little more shape.

---

Chuck Lever (5):
SUNRPC: Introduce rpc_prepare_reply_pages()
NFS: Account for XDR pad of buf->pages
SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsize
SUNRPC: Add rpc_auth::au_ralign field
SUNRPC: Use au_rslack when computing reply buffer size

 fs/nfs/nfs2xdr.c               |   33 +++++---------------
 fs/nfs/nfs3xdr.c               |   39 +++++++-----------------
 fs/nfs/nfs4xdr.c               |   66 ++++++++++++++++++----------------------
 include/linux/sunrpc/auth.h    |   14 ++++----
 include/linux/sunrpc/clnt.h    |    3 ++
 include/trace/events/sunrpc.h  |   37 ++++++++++++++++++++++
 net/sunrpc/auth_gss/auth_gss.c |   19 ++++++++----
 net/sunrpc/auth_null.c         |    2 +
 net/sunrpc/auth_unix.c         |    6 +++-
 net/sunrpc/clnt.c              |   30 ++++++++++++++++--
 net/sunrpc/xdr.c               |   11 +++++++
 11 files changed, 155 insertions(+), 105 deletions(-)

--
Chuck Lever