summaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-05-08 16:01:32 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-06-14 01:36:27 +0200
commitbe20037725d17935ec669044bd2b15bc40c3b5ab (patch)
tree8983ea411cfae5ab5153f0f3a20a16bf5f35ccb7 /fs/nfs/delegation.h
parentLinux 5.13-rc6 (diff)
downloadlinux-be20037725d17935ec669044bd2b15bc40c3b5ab.tar.xz
linux-be20037725d17935ec669044bd2b15bc40c3b5ab.zip
NFSv4: Fix delegation return in cases where we have to retry
If we're unable to immediately recover all locks because the server is unable to immediately service our reclaim calls, then we want to retry after we've finished servicing all the other asynchronous delegation returns on our queue. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r--fs/nfs/delegation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h
index c19b4fd20781..1c378992b7c0 100644
--- a/fs/nfs/delegation.h
+++ b/fs/nfs/delegation.h
@@ -36,6 +36,7 @@ enum {
NFS_DELEGATION_REVOKED,
NFS_DELEGATION_TEST_EXPIRED,
NFS_DELEGATION_INODE_FREEING,
+ NFS_DELEGATION_RETURN_DELAYED,
};
int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred,