diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-03 17:03:10 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-17 16:00:11 (GMT) |
commit | 983c684466e02b21f83c025ea539deee6c0aeac0 (patch) | |
tree | f55a16f3510ba10a78cd8cb757553ced2a38a639 /net/sunrpc/svc.c | |
parent | 106f359cf4d613ebf54cb9f29721bb956fc3460e (diff) | |
download | linux-983c684466e02b21f83c025ea539deee6c0aeac0.tar.xz |
SUNRPC: get rid of the request wait queue
We're always _only_ waking up tasks from within the sp_threads list, so
we know that they are enqueued and alive. The rq_wait waitqueue is just
a distraction with extra atomic semantics.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 1db5007..ca8a795 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -612,8 +612,6 @@ svc_prepare_thread(struct svc_serv *serv, struct svc_pool *pool, int node) if (!rqstp) goto out_enomem; - init_waitqueue_head(&rqstp->rq_wait); - serv->sv_nrthreads++; spin_lock_bh(&pool->sp_lock); pool->sp_nrthreads++; |