<div dir="ltr">Thank you very much, it is very helpful.<div>I see the client graph also in /var/log/glusterfs/mnt-glusterfs.log when mount the file system.</div><div>I think there is a tree structure between xlator (I had seen something in code like child and parent of each xlator), so just some of them are the point of connecting to server. I think xlator with type protocol/client is responsible for send request and get response from server. am I correct?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 8:38 PM, Mohammed Rafi K C <span dir="ltr"><<a href="mailto:rkavunga@redhat.com" target="_blank">rkavunga@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>GlusterFS has mainly four daemons, ie glusterfs (generally client
process), glusterfsd (generally brick process), glusterd
(management daemon) and gluster (cli).</p>
<p>Except cli (cli/src) all of them are basically the same binary
symlinked to different name. So what makes them different is
graphs, ie each daemons loads a graph and based on the graph it
does it's job.</p>
<p><br>
</p>
<p>Nodes of each graph are called xlators. So to figure out what are
the xlators loaded in client side graph. You can see a client
graph
/var/lib/glusterd/vols/<<wbr>volname>/trusted-<volname>.<<wbr>protocol>-fuse.vol</p>
<p>Once you figured out the xlators in client graph and their type,
you can go to the source code, xlatos/<type>/<name>.</p>
<p><br>
</p>
<p>Please note that, if an xlator loaded on client graph it doesn't
mean that it will only run in client side. The same xlator can
also run in server if we load a graph with that xlator loaded.</p>
<p><br>
</p>
<p>Let me know if this is not helping you to understand<br>
</p>
<p><br>
</p>
<p>Regards</p>
<p>Rafi KC<br>
</p>
<p><br>
</p>
<p>So glusterd and cli codes are always ran on servers. <br>
</p><div><div class="h5">
<div class="m_-6115639838331500950moz-cite-prefix">On 03/09/2017 08:28 PM, Tahereh Fattahi
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi
<div>Is there any way to understand that some code is running
client side or server side (from source code and its
directories)?</div>
<div>Is it possible for some code to execute both client and
server side?</div>
</div>
<br>
<fieldset class="m_-6115639838331500950mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Gluster-users mailing list
<a class="m_-6115639838331500950moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a class="m_-6115639838331500950moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>