Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-08 Thread J. Bruce Fields
On Mon, Jan 07, 2013 at 12:12:15AM +0200, Andriy Skulysh wrote: > 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:

Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-08 Thread J. Bruce Fields
On Mon, Jan 07, 2013 at 12:12:15AM +0200, Andriy Skulysh wrote: 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

Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-06 Thread Andriy Skulysh
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 --- include/linux/sunrpc/svc.h |1 + net/sunrpc/svc_xprt.c

Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-06 Thread Andriy Skulysh
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_skul...@xyratex.com --- include/linux/sunrpc/svc.h |1 +

Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-03 Thread J. Bruce Fields
On Wed, Dec 26, 2012 at 05:09:07PM +0200, Andriy Skulysh wrote: > 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:

Re: [PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2013-01-03 Thread J. Bruce Fields
On Wed, Dec 26, 2012 at 05:09:07PM +0200, Andriy Skulysh wrote: 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

[PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2012-12-26 Thread Andriy Skulysh
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 --- include/linux/sunrpc/svc.h |1 + net/sunrpc/svc_xprt.c

[PATCH 1/1] sunrpc: Fix lockd sleeping until timeout

2012-12-26 Thread Andriy Skulysh
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_skul...@xyratex.com --- include/linux/sunrpc/svc.h |1 +