Ricardo Labiaga 9dfdf404c9 nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID
If CREATE_SESSION fails with NFS4ERR_STALE_CLIENTID, don't clear the
NFS4CLNT_SESSION_DRAINING flag and don't wake RPCs waiting for the
session to be reestablished.  We don't have a session yet, so there
is no reason to wake other RPCs.

This avoids sending spurious compounds with bogus sequenceID during
session and state recovery.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
[Trond.Myklebust@netapp.com: cleaned up patch by adding the
                             nfs41_begin/end_drain_session() helpers]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-12-06 12:57:34 -05:00
..
2009-12-05 13:48:55 -05:00
2009-12-05 13:48:55 -05:00
2009-12-05 13:48:55 -05:00
2009-12-05 13:48:55 -05:00
2009-10-23 14:16:30 -04:00
2009-09-27 11:39:25 -07:00
2009-07-08 09:31:56 -07:00
2009-09-24 08:41:47 -04:00
2009-06-16 19:47:48 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-12-06 12:23:46 -05:00
2009-09-23 18:13:10 -07:00
2009-12-05 19:32:19 -05:00
2009-12-03 15:58:56 -05:00
2007-03-16 19:25:05 -07:00
2009-12-05 19:32:19 -05:00