]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
cachefiles: Implement volume support
authorDavid Howells <dhowells@redhat.com>
Thu, 21 Oct 2021 08:55:21 +0000 (09:55 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 21:23:46 +0000 (21:23 +0000)
commita9028f04c77d489b65b45bf51ca4a5118a1c74d8
treea703166a0302dfddb590d706e17c8fac5556e929
parentebaae999ed3f96790539016ab11cca38fcb2203b
cachefiles: Implement volume support

Implement support for creating the directory layout for a volume on disk
and setting up and withdrawing volume caching.

Each volume has a directory named for the volume key under the root of the
cache (prefixed with an 'I' to indicate to cachefilesd that it's an index)
and then creates a bunch of hash bucket subdirectories under that (named as
'@' plus a hex number) in which cookie files will be created.

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
fs/cachefiles/internal.h
fs/cachefiles/volume.c [new file with mode: 0644]