]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: Bump the maximum payload size for the server
authorChuck Lever <chuck.lever@oracle.com>
Mon, 28 Apr 2025 19:37:02 +0000 (15:37 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 15 May 2025 20:16:28 +0000 (16:16 -0400)
commit1e7dbad6d1fe4b35ccd2aa8fea9496d837af4430
tree366c71fded43069e8ac87cd68236422bfd0d8a26
parent8a81f16de64fc4e654a2a85ec46c57a8e43819b8
SUNRPC: Bump the maximum payload size for the server

Increase the maximum server-side RPC payload to 4MB. The default
remains at 1MB.

An API to adjust the operational maximum was added in 2006 by commit
596bbe53eb3a ("[PATCH] knfsd: Allow max size of NFSd payload to be
configured"). To adjust the operational maximum using this API, shut
down the NFS server. Then echo a new value into:

  /proc/fs/nfsd/max_block_size

And restart the NFS server.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc.h