]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdb20344dbaf6e4652239b7ea7d567a16fc2616aa
tree0ebf1550dd1fdafd2900af44ea85d75831172fa3
parent20c0c1aae14393f82c5c475a54dc8f0bf8e3350d
[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