Skip to content
  • Trond Myklebust's avatar
    NFSv4: Fix up the return values of nfs4_open_delegation_recall · 37380e42
    Trond Myklebust authored
    
    
    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>
    37380e42