Increase cache lifetime on client

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

 



>
>
> 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
errors.

Regards,
Amar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20110523/2d6f5bfb/attachment-0001.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux