<div dir="ltr">thanks for your reply</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 5, 2016 at 10:42 PM, Kaleb Keithley <span dir="ltr">&lt;<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;袁仲&quot; &lt;<a href="mailto:yzlyourself@gmail.com">yzlyourself@gmail.com</a>&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; I have check the source code of glusterFS, the communication between cli and<br>
&gt; glustered , glustered and glusterd is depend on RPC. But it is different<br>
&gt; from the RPC program i wrote myself that I use rpcgen to create client-stub<br>
&gt; and server-stub, but glusterFS does not. so, my question is,<br>
&gt;<br>
&gt; Does glusterfs have implement RPC by itself, and if does, what’s the<br>
&gt; difference from the RPC program that use rpcgen.<br>
<br>
</div></div>GlusterFS uses rpcgen too.<br>
<br>
The protocol is defined by the XDR files in .../rpc/xdr/src/*.x.<br>
<br>
The stubs are generated using rpcgen. See .../build-aux/xdrgen<br>
<br>
--<br>
<br>
Kaleb<br>
</blockquote></div><br></div>