thanks for your reply
On Sun, Jun 5, 2016 at 10:42 PM, Kaleb Keithley <kkeithle@xxxxxxxxxx> wrote:
GlusterFS uses rpcgen too.
----- Original Message -----
> From: "袁仲" <yzlyourself@xxxxxxxxx>>
>
>
> I have check the source code of glusterFS, the communication between cli and
> glustered , glustered and glusterd is depend on RPC. But it is different
> from the RPC program i wrote myself that I use rpcgen to create client-stub
> and server-stub, but glusterFS does not. so, my question is,
>
> Does glusterfs have implement RPC by itself, and if does, what’s the
> difference from the RPC program that use rpcgen.
The protocol is defined by the XDR files in .../rpc/xdr/src/*.x.
The stubs are generated using rpcgen. See .../build-aux/xdrgen
--
Kaleb
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users