Skip to content
Commit 37380e42 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix up the return values of nfs4_open_delegation_recall



Adjust the return values so that they return EAGAIN to the caller in
cases where we might want to retry the delegation recall after
the state recovery has run.
Note that we can't wait and retry in this routine, because the caller
may be the state manager thread.

If delegation recall fails due to a session or reboot related issue,
also ensure that we mark the stateid as delegated so that
nfs_delegation_claim_opens can find it again later.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d25be546
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment