]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: remove the pages_flushed statistic from filecache
authorJeff Layton <jlayton@kernel.org>
Wed, 2 Nov 2022 18:44:47 +0000 (14:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:58:25 +0000 (11:58 +0100)
commit4a5b72a6e2583cc65f5dad11017e88c435b56904
tree340fb8e590ec20b30aa8112cedc3fc5ee1e4fa2e
parent8b6379961df1b7be62470e8c4e1abbcc54c6e394
nfsd: remove the pages_flushed statistic from filecache

[ Upstream commit 1f696e230ea5198e393368b319eb55651828d687 ]

We're counting mapping->nrpages, but not all of those are necessarily
dirty. We don't really have a simple way to count just the dirty pages,
so just remove this stat since it's not accurate.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Stable-dep-of: 0b3a551fa58b ("nfsd: fix handling of cached open files in nfsd4_open codepath")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/filecache.c