<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Even if I set the attribute-timeout and entry-timeout to 3600s(1h), in the nodeB, it didn't cache any metadata because the memory usage didn't change. So I was confused that why did the client not cache dentries and inodes.<br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>ÔÚ 2016-09-01 16:37:00£¬"Ravishankar N" <ravishankar@redhat.com> дµÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="moz-cite-prefix">On 09/01/2016 01:04 PM, Keiviw wrote:<br>
</div>
<blockquote cite="mid:14087c4e.3f73.156e4ab683e.Coremail.keiviw@163.com" type="cite">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi,</div>
<div> I have found that GlusterFS client(mounted by FUSE)
didn't cache metadata like dentries and inodes. I have
installed GlusterFS 3.6.0 in nodeA and nodeB, and the brick1
and brick2 was in nodeA, then in nodeB, I mounted the volume
to /mnt/glusterfs by FUSE. From my test, I excuted 'ls
/mnt/glusterfs' in nodeB, and found that the memory didn't use
at all. Here are my questions:</div>
<div> 1. In fuse kernel, the author set some attributes to
control the time-out about dentry and inode, in other words,
the fuse kernel supports metadata cache, but in my test,
dentries and inodes were not cached. WHY?</div>
<div> 2. Were there some options in GlusterFS mounted to
local to enable the metadata cache in fuse kernel? </div>
</div>
<br>
<br>
</blockquote>
<tt>You can tweak the attribute-timeout and entry-timeout seconds
while mounting the volume. Default is 1 second for both. `man
mount.glusterfs` lists various mount options.<br>
-Ravi<br>
</tt>
<blockquote cite="mid:14087c4e.3f73.156e4ab683e.Coremail.keiviw@163.com" type="cite"><span title="neteasefooter">
<p> </p>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a></pre>
</blockquote>
<p><br>
</p>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>