[Linux-cachefs] How to use FS-Cache with CacheFS (not CacheFiles)

Jan Krcmar honza801 at gmail.com
Tue Feb 23 12:59:58 UTC 2021


hi,

according to this documentation:
https://www.kernel.org/doc/html/latest/filesystems/caching/fscache.html

have you any hint how to setup fs-cache with raw device (aka cachefs).
all the documents i've found describe process of setting up with
cachefilesd. fe.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/getting-started-with-fs-cache_managing-file-systems

https://en.wikipedia.org/wiki/CacheFS
"CacheFS is a Filesystem for the FS-Cache facility. A block device can
be used as cache by simply mounting it. Needs no special activation
and is deactivated by unmounting it. "

are these informations correct? is it possible to setup fs-cache with
block device?

thanks
jan




More information about the Linux-cachefs mailing list