]> asedeno.scripts.mit.edu Git - linux.git/commit
NFSv4: Return NFS4ERR_DELAY when a delegation recall fails due to igrab()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Jun 2018 18:22:00 +0000 (14:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 8 Jun 2018 20:36:10 +0000 (16:36 -0400)
commit6c342655022d5189c45e4f7ed0cc8048c9ad9815
tree7bc991f16509269bffcc2d5e086b50c8930afb8d
parent025bb9f8720577b3815263dd961cdebe0c823080
NFSv4: Return NFS4ERR_DELAY when a delegation recall fails due to igrab()

If the attempt to recall the delegation fails because the inode is
in the process of being evicted from cache, then use NFS4ERR_DELAY
to ask the server to retry later.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_proc.c
fs/nfs/delegation.c