]> git.ipfire.org Git - people/arne_f/kernel.git/commit
NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 20 Aug 2020 22:52:43 +0000 (18:52 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 08:46:33 +0000 (10:46 +0200)
commit869ed69b5f5b717dec8f8a635b0aaf20e08f8b7c
treee6ae50ea1b1860ce2e2df8d040ee6d7dbcb4d1ec
parente5c9e466e9a446780914383bcfd388cd9398be59
NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall

[ Upstream commit 3d7a9520f0c3e6a68b6de8c5812fc8b6d7a52626 ]

A client should be able to handle getting an ERR_DELAY error
while doing a LOCK call to reclaim state due to delegation being
recalled. This is a transient error that can happen due to server
moving its volumes and invalidating its file location cache and
upon reference to it during the LOCK call needing to do an
expensive lookup (leading to an ERR_DELAY error on a PUTFH).

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4proc.c