<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/02/2017 10:46 AM, jayakrishnan mm
wrote:<br>
</div>
<blockquote
cite="mid:CAEccfPson0NTSE8UL2upF++WmWHwk6SSvWjun=AbJAe5safqqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>How do I determine, which part of the code is run on the
client, and which part of the code is run on the server
nodes by merely looking at the the glusterfs source code ?</div>
<div>I knew there are client side and server side translators
which will run on respective platforms. I am looking at part
of self heal daemon source (ec/afr) which will run on the
server nodes and the part which run on the clients.</div>
</div>
</blockquote>
<br>
The self-heal daemon that runs on the server is also a client
process in the sense that it has client side xlators like ec or afr
and protocol/client (see the shd volfile 'glustershd-server.vol')
loaded and talks to the bricks like a normal client does.<br>
The difference is that only self-heal related 'logic' get executed
on the shd while both self-heal and I/O related logic get executed
from the mount. The self-heal logic resides mostly in
afr-self-heal*.[ch] while I/O related logic is there in the other
files.<br>
HTH,<br>
Ravi<br>
<blockquote
cite="mid:CAEccfPson0NTSE8UL2upF++WmWHwk6SSvWjun=AbJAe5safqqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Best regards</div>
<div>JK</div>
</div>
<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://lists.gluster.org/mailman/listinfo/gluster-devel">http://lists.gluster.org/mailman/listinfo/gluster-devel</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>