<div dir="auto">Hi,<div dir="auto"> </div><div dir="auto">Thanks. Now I understand :)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Nov 13, 2017 1:06 PM, "Krutika Dhananjay" <<a href="mailto:kdhananj@redhat.com">kdhananj@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>trusted.io-stats-dump is a virtual (not physical) extended attribute.<br></div>The code is written in a way that a request to set trusted.io-stats-dump gets bypassed at the io-stats translator layer on the stack and<br>there it gets converted into the action of dumping the statistics into the provided output file path.<br></div><div>See io_stats_setxattr() implementation in io-stats.c for more details.<br></div><div><br></div>HTH,<br></div>Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 12:14 PM, Jeevan Patnaik <span dir="ltr"><<a href="mailto:g1patnaik@gmail.com" target="_blank">g1patnaik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">I am trying to understand how the extended attribute trusted.io-stats-dump works.</div><div dir="auto"><br></div><div dir="auto">setfattr -n trusted.io-stats-dump -v /tmp/gluster_perf_stats/io-sta<wbr>ts-pre.txt /mnt/gluster/gv0_glusterfs</div><div dir="auto"><br></div><div dir="auto">I can see that the io-stats-pre.txt is created. But how and what happened in the background?</div><div dir="auto"><br></div><div dir="auto">And why I can't I see the attribute with getfattr again?</div><div dir="auto"><br></div><div dir="auto">getfattr -dm- /mnt/gluster/gv0_glusterfs</div><div dir="auto"># file: mnt/gluster/gv0_glusterfs</div><div dir="auto">trusted.glusterfs.dht.commitha<wbr>sh="<a href="tel:03480%20667%20945" value="+913480667945" target="_blank">3480667945</a>"</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Jeevan.</div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br></blockquote></div><br></div>
</blockquote></div></div>