aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs3proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2019-02-21 10:47:00 -0500
committerJ. Bruce Fields <bfields@redhat.com>2019-02-21 10:47:00 -0500
commitc54f24e338ed2a35218f117a4a1afb5f9e2b4e64 (patch)
tree49958ea45d072adb41954bbd5b8b273284eaf889 /fs/nfsd/nfs3proc.c
parentsvcrpc: fix UDP on servers with lots of threads (diff)
downloadlinux-dev-c54f24e338ed2a35218f117a4a1afb5f9e2b4e64.tar.xz
linux-dev-c54f24e338ed2a35218f117a4a1afb5f9e2b4e64.zip
nfsd: fix performance-limiting session calculation
We're unintentionally limiting the number of slots per nfsv4.1 session to 10. Often more than 10 simultaneous RPCs are needed for the best performance. This calculation was meant to prevent any one client from using up more than a third of the limit we set for total memory use across all clients and sessions. Instead, it's limiting the client to a third of the maximum for a single session. Fix this. Reported-by: Chris Tracy <ctracy@engr.scu.edu> Cc: stable@vger.kernel.org Fixes: de766e570413 "nfsd: give out fewer session slots as limit approaches" Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions