aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-10-20 11:51:58 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-06 11:53:48 -0500
commitc72a476b4b7ecadb80185de31236edb303c1a5d0 (patch)
treec57ac715970c4a3363b28122ce2d3b47fe179b7f /include/linux/lockd
parentsunrpc: add sv_maxconn field to svc_serv (try #3) (diff)
downloadlinux-dev-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.xz
linux-dev-c72a476b4b7ecadb80185de31236edb303c1a5d0.zip
lockd: set svc_serv->sv_maxconn to a more reasonable value (try #3)
The default method for calculating the number of connections allowed per RPC service arbitrarily limits single-threaded services to 80 connections. This is too low for services like lockd and artificially limits the number of TCP clients that it can support. Have lockd set a default sv_maxconn value to 1024 (which is the typical default value for RLIMIT_NOFILE. Also add a module parameter to allow an admin to set this to an arbitrary value. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/lockd')
0 files changed, 0 insertions, 0 deletions