linux-yocto/fs/cachefiles
David Howells 8667d434b2 cachefiles: Register a miscdev and parse commands over it
Register a misc device with which to talk to the daemon.  The misc device
holds a cache set up through it around and closing the device kills the
cache.

cachefilesd communicates with the kernel by passing it single-line text
commands.  Parse these and use them to parameterise the cache state.  This
does not implement the command to actually bring a cache online.  That's
left for later.

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/163819628388.215744.17712097043607299608.stgit@warthog.procyon.org.uk/ # v1
Link: https://lore.kernel.org/r/163906929128.143852.14065207858943654011.stgit@warthog.procyon.org.uk/ # v2
Link: https://lore.kernel.org/r/163967139085.1823006.3514846391807454287.stgit@warthog.procyon.org.uk/ # v3
Link: https://lore.kernel.org/r/164021538400.640689.9172006906288062041.stgit@warthog.procyon.org.uk/ # v4
2022-01-07 13:41:20 +00:00
..
daemon.c cachefiles: Register a miscdev and parse commands over it 2022-01-07 13:41:20 +00:00
error_inject.c cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00
internal.h cachefiles: Register a miscdev and parse commands over it 2022-01-07 13:41:20 +00:00
Kconfig cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00
main.c cachefiles: Register a miscdev and parse commands over it 2022-01-07 13:41:20 +00:00
Makefile cachefiles: Register a miscdev and parse commands over it 2022-01-07 13:41:20 +00:00
security.c cachefiles: Add security derivation 2022-01-07 13:41:14 +00:00