On Fri, Jul 26, 2019 at 02:36:35PM -0700, Qian Lu wrote:
Hello Greg, Can you please consider including the following patches in the stable linux-4.14.y branch? An NFS server accepts only a limited number of concurrent v4.1+ mounts. Once that limit is reached, on the affected client side, mount.nfs appears to hang to keep reissuing CREATE_SESSION calls until one of them succeeds. This is to bump the limit, also return smaller ca_maxrequests as the limit approaches instead of waiting till we have to fail CREATE_SESSION completely. 44d8660d3bb0("nfsd: increase DRC cache limit") de766e570413("nfsd: give out fewer session slots as limit approaches") c54f24e338ed("nfsd: fix performance-limiting session calculation")
I've queued these 3 for 4.14 and older. Note that c54f24e338ed has a fix: 3b2d4dcf71c4a ("nfsd: Fix overflow causing non-working mounts on 1 TB machines") which was queued as well. -- Thanks, Sasha