cachefiles: Define structs
authorDavid Howells <dhowells@redhat.com>
Fri, 26 Nov 2021 14:45:38 +0000 (14:45 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Jan 2022 13:40:45 +0000 (13:40 +0000)
commit8390fbc46570dca6f1c7b170f19c612f9ec91a92
treeea271bdc87e37bdcba75208fe3adda8a19f53edd
parent77443f6171f32626f24b2f97494c71a6bd83831a
cachefiles: Define structs

Define the cachefiles_cache struct that's going to carry the cache-level
parameters and state of a cache.

Define the beginning of the cachefiles_object struct that's going to carry
the state for a data storage object.  For the moment this is just a
debugging ID for logging purposes.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/163819623690.215744.2824739137193655547.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163906924292.143852.15881439716653984905.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163967131405.1823006.4480555941533935597.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164021530610.640689.846094074334176928.stgit@warthog.procyon.org.uk/
fs/cachefiles/internal.h