[Gluster-users] Increase cache lifetime on client

Amar Tumballi amar at gluster.com
Mon May 23 13:16:38 UTC 2011

> In other words I want to prevent glusterfs of querying brick on every
> request and use cached version instead. It is ok if such checks will
> be once a min, but not on every request,please. Is it possible?

Yes, fuse provides such options. But sadly, mount.glusterfs doesn't handle
these options as of now. But you can start glusterfs process with all
options mount -t glusterfs will use, added with  "--entry-timeout 60" and
"--attribute-timeout 60" (values are in seconds). As a warning note, if you
are having lot of rename calls, (or many clients trying to create files with
same name (ie, path is same)), you may get some 'stale file handle' type of

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110523/2d6f5bfb/attachment.html>

More information about the Gluster-users mailing list