]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: raise kernel RPC channel buffer size
authorRoberto Bergantinos Corpas <rbergant@redhat.com>
Mon, 19 Oct 2020 09:33:56 +0000 (11:33 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Oct 2020 17:21:30 +0000 (13:21 -0400)
commitd8b2e12f145f154779c2c9f0496b6bc39c2155b2
tree3b8d524caf5d69e776899dbe73da250e9a2caebb
parent36e20485758435e6f17d5f4cbd05020594d0c735
sunrpc: raise kernel RPC channel buffer size

Its possible that using AUTH_SYS and mountd manage-gids option a
user may hit the 8k RPC channel buffer limit. This have been observed
on field, causing unanswered RPCs on clients after mountd fails to
write on channel :

rpc.mountd[11231]: auth_unix_gid: error writing reply

Userland nfs-utils uses a buffer size of 32k (RPC_CHAN_BUF_SIZE), so
lets match those two.

Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/cache.c