diff options
| author | David Howells <[email protected]> | 2024-12-16 20:41:07 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-12-20 21:34:06 +0000 |
| commit | 9e705016eb8f3d4a58f2000e560ea2c7517e081b (patch) | |
| tree | f62261ccaf93772be802629e9c91585d1322319a /net/unix/af_unix.c | |
| parent | cachefiles: Add auxiliary data trace (diff) | |
| download | kernel-9e705016eb8f3d4a58f2000e560ea2c7517e081b.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Marc Dionne <[email protected]>
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
