Re: implementation of RPC in glusterFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks for your reply

On Sun, Jun 5, 2016 at 10:42 PM, Kaleb Keithley <kkeithle@xxxxxxxxxx> wrote:


----- 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.

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

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux