]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
cachefiles: Implement cache registration and withdrawal
authorDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 14:29:06 +0000 (14:29 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 21:23:46 +0000 (21:23 +0000)
commitebaae999ed3f96790539016ab11cca38fcb2203b
treedba86b13320bd851fa1dfe6c749ed38767330ec5
parent6243a05ea37bd1657efddcb953b8ad71805ecd6f
cachefiles: Implement cache registration and withdrawal

Do the following:

 (1) Fill out cachefiles_daemon_add_cache() so that it sets up the cache
     directories and registers the cache with cachefiles.

 (2) Add a function to do the top-level part of cache withdrawal and
     unregistration.

 (3) Add a function to sync a cache.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
fs/cachefiles/Makefile
fs/cachefiles/cache.c
fs/cachefiles/daemon.c
fs/cachefiles/interface.c [new file with mode: 0644]
fs/cachefiles/internal.h