]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Add accounting for the number of active delegations held
authorTrond Myklebust <trondmy@gmail.com>
Mon, 27 Jan 2020 14:58:18 +0000 (09:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 18:54:13 +0000 (19:54 +0100)
commit0f663d1c7a4cc6405982799f598cf46a0f994b2a
treeee8c6ecfe1aaa9b32e8ada87ebe87c5befe10c40
parent3c23a88539964df7c216c8176e408f058f95d4c0
NFSv4: Add accounting for the number of active delegations held

[ Upstream commit d2269ea14ebd2a73f291d6b3a7a7d320ec00270c ]

In order to better manage our delegation caching, add a counter
to track the number of active delegations.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/delegation.c