Re: How to use FS-Cache with CacheFS (not CacheFiles)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Krcmar <honza801@xxxxxxxxx> wrote:

> 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?

At the moment you can't do that.  The code that allowed you to use a blockdev
directly proved to have a severe flaw in it and has since bitrotted, since it
never went upstream.

I'm looking at doing fscache v2.0 and storing all of the data in one file,
which would be storable on a blockdev, but it's in the planning stages at the
moment.

David

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/linux-cachefs




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux