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-10-09 13:32:24 -07:00
2009-12-01 11:24:19 +01:00
2009-10-11 11:20:58 -07:00
2009-09-26 10:49:42 -07:00
2009-12-03 15:58:56 -05:00
2009-10-09 13:52:05 -07:00
2009-09-27 11:39:25 -07:00
2009-10-06 00:26:26 -04:00
2009-09-30 16:12:20 -07:00
2009-10-05 11:03:58 +02:00
2009-10-01 21:19:34 +02:00
2009-10-01 16:11:11 -07:00
2009-10-02 10:54:05 -07:00
2009-10-29 07:39:24 -07:00
2009-10-30 14:59:51 -07:00
2009-10-06 10:35:10 +02:00
2009-11-11 15:22:49 +01:00
2009-11-12 07:25:56 -08:00
2009-10-04 12:39:14 -07:00
2009-11-19 18:12:05 +00:00
2009-11-19 18:11:35 +00:00
2009-10-07 15:52:09 -04:00
2009-10-08 12:16:35 -07:00
2009-10-06 20:16:55 +02:00
2009-09-27 11:39:25 -07:00
2009-11-20 00:25:42 +00:00
2009-11-07 13:10:46 +01:00
2009-09-26 20:28:07 -07:00
2009-10-02 15:42:19 +02:00
2009-11-10 21:13:32 -08:00
2009-10-11 11:20:58 -07:00
2009-09-26 10:17:19 -07:00
2009-11-15 22:23:47 -08:00
2009-09-30 00:32:06 -04:00
2009-10-22 16:39:28 +10:30
2009-10-11 23:21:25 +02:00
2009-09-26 10:17:19 -07:00
2009-10-06 00:26:27 -04:00
2009-09-27 11:39:25 -07:00
2009-10-29 08:56:17 +10:30
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-09-30 16:12:20 -07:00
2009-10-07 13:53:11 -07:00
2009-09-30 16:12:20 -07:00
2009-12-04 15:55:38 -05:00
2009-09-26 10:17:19 -07:00
2009-12-03 15:58:56 -05:00
2009-11-15 17:17:38 +09:00
2009-11-12 07:25:57 -08:00
2009-10-23 09:35:02 +02:00
2009-10-04 15:05:10 -07:00
2009-10-04 03:23:17 +02:00
2009-09-27 11:39:25 -07:00
2009-10-05 21:02:02 +02:00
2009-10-15 11:17:17 +02:00
2009-10-01 16:11:13 -07:00
2009-09-30 21:46:59 +02:00
2009-10-30 12:25:12 -07:00
2009-12-01 08:20:31 -08:00
2009-10-05 00:24:36 -07:00
2009-10-29 07:39:25 -07:00
2009-11-17 17:40:33 -08:00
2009-10-14 15:02:34 +02:00
2009-10-24 11:07:51 +02:00
2009-09-27 13:35:16 -07:00
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:30 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-10-22 16:39:28 +10:30
2009-11-19 13:43:06 -08:00
2009-10-14 09:16:42 -07:00