Hi,

Is it possible (or even sane) to configure aufs2 to never read or stat
data in a lower branch to check if it is newer/modified? I have a
small subset of files on a local filesystem which have been copied off
a remote NFS filesystem. When accessing the local files I would like
to avoid going across the network and checking if those files have
been modified. Everything is read-only so I don't care about
white-outs or copyups. So if the file exists in my local "cache" then
never look at the second branch which is on a slow high latency
network link - if the stat/read of the file returns from the top
branch don't bother check the next branch.

I am looking to create a cache of commonly used read-only data but
with an underlying NFS filesystem which we resort to only if it is not
in the local cache. The problem now is that aufs still goes to the
network even if the files are in the top (local) branch.

Cheers,

Daire

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

Reply via email to