Re: [PATCH v4 14/14] SUNRPC: Bump the maximum payload size for the server

Christoph Hellwig
2025-05-07T07:42:21Z

On Tue, May 06, 2025 at 09:52:06AM -0400, Chuck Lever wrote:
> > Are you going to wire this up to a config file in nfs-utils that
> > gets set before the daemon starts?
>
> That's up to SteveD -- it might be added to /etc/nfs.conf.

Well, you should be talking to him or even include a patch.

> > Because otherwise this is a pretty horrible user interface.
>
> This is an API that has existed forever.

Huh? It is a brand new file added by this patch.

> I don't even like that this maximum can be tuned. After a period of
> experimentation, I was going to set the default to a higher value and
> be done with it, because I can't think of a reason why it needs to be
> shifted up or down after that.

Why not? A tiny desk NAS box has very different resources available
compared to say a multi-socket enterprise AI data server.