NFS: Remove all NFSIOS_FSCACHE counters due to conversion to netfs API
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 20 Feb 2023 13:43:07 +0000 (08:43 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 17:08:26 +0000 (13:08 -0400)
commit0631d5e02a1c722b90c11a47dcb6d83ef88ab47b
tree8e02d2f826607ffba1bbc45dfab2070489b5d2b3
parent000dbe0bec058cbf2ca9e156e4a5584f5158b0f9
NFS: Remove all NFSIOS_FSCACHE counters due to conversion to netfs API

The old NFSIOS_FSCACHE counters are no longer accurate or useful with
the conversion to the new netfs API.  The new API does not have a page
based interface, and so the counters in nfs_stat_fscachecounters are
no longer obtainable.  The new netfs the API has extensive statistics
inside /proc/fs/fscache/stats so we no longer need NFS specific fscache
stats.

Note this also removes the 'fsc:' line from /proc/self/mountstats so
it will be a user-visible change.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Daire Byrne <daire@dneg.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/iostat.h
fs/nfs/super.c
include/linux/nfs_iostat.h