<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"><<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@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 class="HOEnZb"><div class="h5"><br>
<br>
----- Original Message -----<br>
> From: "袁仲" <<a href="mailto:yzlyourself@gmail.com">yzlyourself@gmail.com</a>>><br>
><br>
><br>
> I have check the source code of glusterFS, the communication between cli and<br>
> glustered , glustered and glusterd is depend on RPC. But it is different<br>
> from the RPC program i wrote myself that I use rpcgen to create client-stub<br>
> and server-stub, but glusterFS does not. so, my question is,<br>
><br>
> Does glusterfs have implement RPC by itself, and if does, what’s the<br>
> 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>