Stephan von Krawczynski wrote:> Hello all,
>
> after testing around in real world scenarios we found it would be a great
> feature if glusterfs could cache whole files that are read-only opened (or
> rw-opened and not modified) on the clients. We have lots of setups with
small
> to medium size config files that have to be read through every few minutes
-
> and almost never change. Simple timestamp comparison would probably be
enough
> to decide whether some file has to be transmitted again or if the cached
> version is up-to-date.
> Is it currently possible to create a setup like this?
Some part of what you mention above is being performed by
the io-cache translator but there are other aspects that are
yet to be implemented, for eg, longer term caching of read-only
files. Do try it out and let us know how it works for you.
-Shehjar> Would this be a neat future feature?
>