Trond Myklebust 7111dc7392 NFSv4: Fix an infinite looping problem with the nfs4_state_manager
Commit 76db6d9500caeaa774a3e32a997eba30bbdc176b (nfs41: add session setup
to the state manager) introduces an infinite loop possibility in the NFSv4
state manager. By first checking nfs4_has_session() before clearing the
NFS4CLNT_SESSION_SETUP flag, it allows for a situation where someone sets
that flag, but it never gets cleared, and so the state manager loops.

In fact commit c3fad1b1aaf850bf692642642ace7cd0d64af0a3 (nfs41: add session
reset to state manager) causes this to happen every time we get a network
partition error.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Tested-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-08-24 16:28:42 -07:00
..
2009-07-21 16:48:07 -04:00
2009-07-12 12:22:34 -07:00
2009-08-12 08:21:39 -07:00
2009-07-12 12:22:34 -07:00
2009-04-03 16:42:47 +01:00
2009-07-08 09:31:56 -07:00
2008-02-20 16:15:44 -05:00
2009-07-12 12:22:34 -07:00
2009-06-16 19:47:48 -07:00
2009-07-21 16:48:07 -04:00
2009-06-17 12:25:04 -07:00
2009-03-19 15:35:50 -04:00
2009-08-12 08:21:39 -07:00
2007-03-16 19:25:05 -07:00
2009-08-12 08:21:39 -07:00