Files
kernel_amazon_mt8127-common/include/linux
Andy Adamson ea028ac925 nfs41: nfs41: fix state manager deadlock in session reset
If the session is reset during state recovery, the state manager thread can
sleep on the slot_tbl_waitq causing a deadlock.

Add a completion framework to the session.  Have the state manager thread set
a new session state (NFS4CLNT_SESSION_DRAINING) and wait for the session slot
table to drain.

Signal the state manager thread in nfs41_sequence_free_slot when the
NFS4CLNT_SESSION_DRAINING bit is set and the session is drained.

Reported-by: Trond Myklebust <trond@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-12-04 15:55:38 -05:00
..
2009-12-01 11:24:19 +01:00
2009-09-26 10:17:19 -07:00
2009-09-30 00:32:06 -04:00
2009-09-26 10:17:19 -07:00
2009-10-06 00:26:27 -04:00
2009-09-26 10:17:19 -07:00
2009-10-04 15:05:10 -07:00
2009-10-30 12:25:12 -07:00
2009-10-29 07:39:25 -07:00
2009-11-19 13:43:06 -08:00