cachefiles: Add auxiliary data trace
authorDavid Howells <dhowells@redhat.com>
Mon, 16 Dec 2024 20:41:06 +0000 (20:41 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 20 Dec 2024 21:34:05 +0000 (22:34 +0100)
commit229105e5cfd9832a9ef1368c96e0098ec3a5fbf0
treeb115050b05dedbed3a8cd37291db009d8fa902ac
parentbcb33f79e15d0e4dc4b86106ceb01d64bfab9e35
cachefiles: Add auxiliary data trace

Add a display of the first 8 bytes of the downloaded auxiliary data and of
the on-disk stored auxiliary data as these are used in coherency
management.  In the case of afs, this holds the data version number.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-17-dhowells@redhat.com
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/cachefiles/xattr.c
include/trace/events/cachefiles.h