]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Add a tracepoint to show the results of nfs_set_cache_invalid()
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 16 Nov 2021 13:49:24 +0000 (08:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Nov 2024 12:13:35 +0000 (13:13 +0100)
commit80ca099223abe1f0aae5c0f9945f36c1dceffa7c
tree6cbb11aa1e056e48a6fcbf65d86c50a74d7d66ee
parentc4be3004fdb19919f5cdb07a53fbe1374f413441
NFS: Add a tracepoint to show the results of nfs_set_cache_invalid()

[ Upstream commit 93c2e5e0a9ecfc183ab1204e1ecaa7ee7eb2a61a ]

This provides some insight into the client's invalidation behavior to show
both when the client uses the helper, and the results of calling the
helper which can vary depending on how the helper is called.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Stable-dep-of: 867da60d463b ("nfs: avoid i_lock contention in nfs_clear_invalid_mapping")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/inode.c
fs/nfs/nfstrace.h