[PATCH] knfsd: add svc_set_num_threads
authorGreg Banks <gnb@melbourne.sgi.com>
Mon, 2 Oct 2006 09:17:59 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:19 +0000 (07:57 -0700)
commita74554429eada89a7ddb47317e6a2968d03e41a2
tree0ebf1550dd1fdafd2900af44ea85d75831172fa3
parent9a24ab5749a31aa10ee60d9310ad72f24d7c38ab
[PATCH] knfsd: add svc_set_num_threads

Currently knfsd keeps its own list of all nfsd threads in nfssvc.c; add a new
way of managing the list of all threads in a svc_serv.  Add
svc_create_pooled() to allow creation of a svc_serv whose threads are managed
by the sunrpc code.  Add svc_set_num_threads() to manage the number of threads
in a service, either per-pool or globally across the service.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sunrpc/svc.h
net/sunrpc/sunrpc_syms.c
net/sunrpc/svc.c