]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fscache, cachefiles: Display stats of no-space events
authorDavid Howells <dhowells@redhat.com>
Thu, 21 Oct 2021 20:58:29 +0000 (21:58 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Jan 2022 13:43:13 +0000 (13:43 +0000)
commit3929eca769b5a231010b4978acc61c0735da198f
tree9f3c81aa6f3e67ad688587db70b17a1e3e4a215b
parentecd1a5f62eed35d812de8fe20703e21b551c6560
fscache, cachefiles: Display stats of no-space events

Add stat counters of no-space events that caused caching not to happen and
display in /proc/fs/fscache/stats.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/163819653216.215744.17210522251617386509.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163906958369.143852.7257100711818401748.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163967166917.1823006.14842444049198947892.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164021566184.640689.4417328329632709265.stgit@warthog.procyon.org.uk/
fs/cachefiles/cache.c
fs/cachefiles/daemon.c
fs/cachefiles/internal.h
fs/cachefiles/io.c
fs/cachefiles/namei.c
fs/fscache/stats.c
include/linux/fscache-cache.h