Trond Myklebust 51069e4aef NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
If we're asked to recover open state while a delegation return is
outstanding, then the state manager thread cannot use a cached open, so
if the server returns a delegation, we can end up deadlocked behind the
pending delegreturn.
To avoid this problem, let's just ask the server not to give us a
delegation unless we're explicitly reclaiming one.

Fixes: be36e185bd26 ("NFSv4: nfs4_open_recover_helper() must set share access")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2022-11-27 22:09:59 -05:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2022-08-10 14:04:32 -07:00
2022-10-13 09:58:42 -07:00
2022-05-09 23:12:33 -04:00
2022-10-13 09:58:42 -07:00
2021-04-05 09:04:20 -04:00
2015-04-23 15:16:14 -04:00
2022-10-13 09:58:42 -07:00
2022-05-09 16:36:48 -04:00
2022-09-12 17:53:46 -04:00