]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
cachefiles: Add a couple of tracepoints for logging errors
authorDavid Howells <dhowells@redhat.com>
Thu, 21 Oct 2021 07:42:18 +0000 (08:42 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 16:23:18 +0000 (16:23 +0000)
commitbcf70c748910b39f3837b2634ae8d9356e33339a
tree8d044ab1eb4831ec54ffe405ebeb10f5a858cbac
parent1d1a87fb8c04f6dc9bbd1edb1f840a827bb0841a
cachefiles: Add a couple of tracepoints for logging errors

Add two trace points to log errors, one for vfs operations like mkdir or
create, and one for I/O operations, like read, write or truncate.

Also add the beginnings of a struct that is going to represent a data file
and place a debugging ID in it for the tracepoints to record.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
fs/cachefiles/internal.h
include/trace/events/cachefiles.h