diff options
author | 2024-12-16 20:41:07 +0000 | |
---|---|---|
committer | 2024-12-20 22:34:06 +0100 | |
commit | 9e705016eb8f3d4a58f2000e560ea2c7517e081b (patch) | |
tree | f62261ccaf93772be802629e9c91585d1322319a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cachefiles: Add auxiliary data trace (diff) | |
download | wireguard-linux-9e705016eb8f3d4a58f2000e560ea2c7517e081b.tar.xz wireguard-linux-9e705016eb8f3d4a58f2000e560ea2c7517e081b.zip |
afs: Add more tracepoints to do with tracking validity
Add wrappers to set and clear the callback promise and to mark a directory
as invalidated, and add tracepoints to track these events:
(1) afs_cb_promise: Log when a callback promise is set on a vnode.
(2) afs_vnode_invalid: Log when the server's callback promise for a vnode
is no longer valid and we need to refetch the vnode metadata.
(3) afs_dir_invalid: Log when the contents of a directory are marked
invalid and requiring refetching from the server and the cache
invalidating.
and two tracepoints to record data version number management:
(4) afs_set_dv: Log when the DV is recorded on a vnode.
(5) afs_dv_mismatch: Log when the DV recorded on a vnode plus the expected
delta for the operation does not match the DV we got back from the
server.
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-18-dhowells@redhat.com
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions