diff options
author | Greg Banks <gnb@melbourne.sgi.com> | 2006-10-02 05:17:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:19 -0400 |
commit | a74554429eada89a7ddb47317e6a2968d03e41a2 (patch) | |
tree | 0ebf1550dd1fdafd2900af44ea85d75831172fa3 /net/sunrpc/sunrpc_syms.c | |
parent | 9a24ab5749a31aa10ee60d9310ad72f24d7c38ab (diff) |
[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>
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r-- | net/sunrpc/sunrpc_syms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 26c0531d7e25..192dff5dabcb 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c | |||
@@ -70,6 +70,8 @@ EXPORT_SYMBOL(put_rpccred); | |||
70 | /* RPC server stuff */ | 70 | /* RPC server stuff */ |
71 | EXPORT_SYMBOL(svc_create); | 71 | EXPORT_SYMBOL(svc_create); |
72 | EXPORT_SYMBOL(svc_create_thread); | 72 | EXPORT_SYMBOL(svc_create_thread); |
73 | EXPORT_SYMBOL(svc_create_pooled); | ||
74 | EXPORT_SYMBOL(svc_set_num_threads); | ||
73 | EXPORT_SYMBOL(svc_exit_thread); | 75 | EXPORT_SYMBOL(svc_exit_thread); |
74 | EXPORT_SYMBOL(svc_destroy); | 76 | EXPORT_SYMBOL(svc_destroy); |
75 | EXPORT_SYMBOL(svc_drop); | 77 | EXPORT_SYMBOL(svc_drop); |