]> git.baikalelectronics.ru Git - kernel.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)
commiteaccd6136a9e69379d5b30b45183ce0e273938a9
tree7bc991f16509269bffcc2d5e086b50c8930afb8d
parent97473fb104f36d09c9ad6f6f3f1a8629c5e7ce4e
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