sunrpc: Fix lockd sleeping until timeout
authorAndriy Skulysh <andriy_skulysh@xyratex.com>
Sun, 6 Jan 2013 22:12:15 +0000 (00:12 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 23 Jan 2013 23:17:39 +0000 (18:17 -0500)
commit35525b79786b2ba58ef13822198ce22c497bc7a2
tree2aaefaf2b21a3b3b133b29b711c811be0e335c11
parent624ab4644819948e9dc87c114201e98f2e52490f
sunrpc: Fix lockd sleeping until timeout

There is a race in enqueueing thread to a pool and
waking up a thread.
lockd doesn't wake up on reception of lock granted callback
if svc_wake_up() is called before lockd's thread is added
to a pool.

Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc_xprt.c
This page took 0.033136 seconds and 5 git commands to generate.