[Gluster-users] implementation of RPC in glusterFS

袁仲 yzlyourself at gmail.com
Mon Jun 6 14:33:57 UTC 2016


thanks for your reply

On Sun, Jun 5, 2016 at 10:42 PM, Kaleb Keithley <kkeithle at redhat.com> wrote:

>
>
> ----- Original Message -----
> > From: "袁仲" <yzlyourself at gmail.com>>
> >
> >
> > 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.
>
> GlusterFS uses rpcgen too.
>
> The protocol is defined by the XDR files in .../rpc/xdr/src/*.x.
>
> The stubs are generated using rpcgen. See .../build-aux/xdrgen
>
> --
>
> Kaleb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160606/ada7ac3b/attachment.html>


More information about the Gluster-users mailing list