]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
cachefiles: Implement object lifecycle funcs
authorDavid Howells <dhowells@redhat.com>
Wed, 17 Nov 2021 16:22:21 +0000 (16:22 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 21:23:47 +0000 (21:23 +0000)
commit18180cfc3bce5748d6a21d0cefcfda828d985190
tree3fdbd37a1cefd91e5ec4c3e5846f655bda33427e
parentd6e08cdf8a3c491d45e0c17db55f17b4f46173b5
cachefiles: Implement object lifecycle funcs

Implement allocate, get, see and put functions for the cachefiles_object
struct.  The members of the struct we're going to need are also added.

Additionally, implement a lifecycle tracepoint.

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