summaryrefslogtreecommitdiff
path: root/fs/nfs/delegation.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-05-08 17:01:32 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-06-14 02:36:27 +0300
commitbe20037725d17935ec669044bd2b15bc40c3b5ab (patch)
tree8983ea411cfae5ab5153f0f3a20a16bf5f35ccb7 /fs/nfs/delegation.h
parent009c9aa5be652675a06d5211e1640e02bbb1c33d (diff)
downloadlinux-be20037725d17935ec669044bd2b15bc40c3b5ab.tar.xz
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,