]> git.baikalelectronics.ru Git - kernel.git/commit
cachefiles: Trace active-mark failure
authorDavid Howells <dhowells@redhat.com>
Fri, 14 Jan 2022 11:05:13 +0000 (11:05 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 21 Jan 2022 21:36:28 +0000 (21:36 +0000)
commit905d43a93206970d5ca68474dce9de56b95dd40e
treedeffc3aac285ddc4aa9f98e942def2d5bd45f8b3
parent7e6a2638955996e1e546a790e0cbfa499c564b8c
cachefiles: Trace active-mark failure

Add a tracepoint to log failure to apply an active mark to a file in
addition to tracing successfully setting and unsetting the mark.

Also include the backing file inode number in the message logged to dmesg.

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/164251404666.3435901.17331742792401482190.stgit@warthog.procyon.org.uk/
fs/cachefiles/namei.c
include/trace/events/cachefiles.h