03 Apr, 2009
1 commit
-
Add some new NFS I/O counters for FS-Cache doing things for NFS. A new line is
emitted into /proc/pid/mountstats if caching is enabled that looks like:fsc:
Where is the number of pages read successfully from the cache, is
the number of failed page reads against the cache, is the number of
successful page writes to the cache, is the number of failed page writes
to the cache, and is the number of NFS pages that have been disconnected
from the cache.Signed-off-by: David Howells
Acked-by: Steve Dickson
Acked-by: Trond Myklebust
Acked-by: Al Viro
Tested-by: Daire Byrne
10 Jul, 2008
1 commit
-
The fs/nfs/iostat.h header has definitions that were designed to be exposed
to user space. Move these definitions under include/linux so user space can
use the definitions in applications that read /proc/self/mountstats.Also address a handful of coding style issues called out by checkpatch.pl in
fs/nfs/iostat.h.Signed-off-by: Chuck Lever
Signed-off-by: Trond Myklebust