]> err.no Git - linux-2.6/commit
[PATCH] knfsd: use new lock for svc_sock deferred list
authorGreg Banks <gnb@melbourne.sgi.com>
Mon, 2 Oct 2006 09:17:55 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:19 +0000 (07:57 -0700)
commit1a68d952af5f43032012d26dd0d5164c9e9986bc
tree6c660f3ee27205a4c4f18883b2205f873cf396be
parentc45c357d7dbc9e94338f44349e0035149da86b26
[PATCH] knfsd: use new lock for svc_sock deferred list

Protect the svc_sock->sk_deferred list with a new lock svc_sock->sk_defer_lock
instead of svc_serv->sv_lock.  Using the more fine-grained lock reduces the
number of places we need to take the svc_serv lock.

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/svcsock.h
net/sunrpc/svcsock.c