OSDN Git Service

nfsd: remove the pages_flushed statistic from filecache
authorJeff Layton <jlayton@kernel.org>
Wed, 2 Nov 2022 18:44:47 +0000 (14:44 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Nov 2022 17:54:47 +0000 (12:54 -0500)
commit1f696e230ea5198e393368b319eb55651828d687
treeada4c63c17e2c43e5fb2f351633fbed80db725dc
parent296f3d7f419e02d676761aff06502fa005e13b52
nfsd: remove the pages_flushed statistic from filecache

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>
fs/nfsd/filecache.c