<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hello, everyone,</p>
<p><br>
</p>
<p>I am investigating the difference between stat and lookup operations in GlusterFs now. <span style="font-size: 12pt;">In the translator named "m</span><span style="font-size: 12pt;">d_cache", stat operation will hit the cache generally, while lookup operation
will miss the cache. </span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">The reason is that for lookup operation, md_cache will check whether the xdata is satisfied. In my case, lookup will include xdata "gfid-req" filled by fuse-bridge. However, in md_cache, this check never pass because the load
flag of mdc_key "gfid-req" is always 0. </span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p>Could anyone tell me why "gfid-req" is filled by fuse-bridge.c(fuse_getattr: nodeid==1->lookup)? What does it mean? And how xdata is used?</p>
<p>If no xdata, what would happen?</p>
<p>Thank you!</p>
<div id="Signature">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Best regards,</div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Zhitao Li</div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Sent from <a href="http://aka.ms/weboutlook" id="LPNoLP">Outlook</a></div>
</div>
</div>
</body>
</html>