path: root/xlators/protocol/client/src/
diff options
authorAmar Tumballi <>2017-12-22 13:12:42 +0530
committerAmar Tumballi <>2018-01-19 22:48:39 +0530
commit303cc2b54797bc5371be742543ccb289010c92f2 (patch)
treecf383488d0edff81b012b5e908f8ebca7affaea3 /xlators/protocol/client/src/
parent9eefff096fd9b54120e4347b6b00f10a6c502cf4 (diff)
protocol: make on-wire-change of protocol using new XDR definition.
With this patchset, some major things are changed in XDR, mainly: * Naming: Instead of gfs3/gfs4 settle for gfx_ for xdr structures * add iattx as a separate structure, and add conversion methods * the *_rsp structure is now changed, and is also reduced in number (ie, no need for different strucutes if it is similar to other response). * use proper XDR methods for sending dict on wire. Also, with the change of xdr structure, there are changes needed outside of xlator protocol layer to handle these properly. Mainly because the abstraction was broken to support 0-copy RDMA with payload for write and read FOP. This made transport layer know about the xdr payload, hence with the change of xdr payload structure, transport layer needed to know about the change. Updates #384 Change-Id: I1448fbe9deab0a1b06cb8351f2f37488cefe461f Signed-off-by: Amar Tumballi <>
Diffstat (limited to 'xlators/protocol/client/src/')
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/ b/xlators/protocol/client/src/
index 899db91..785a51f 100644
--- a/xlators/protocol/client/src/
+++ b/xlators/protocol/client/src/
@@ -9,7 +9,8 @@ client_la_LIBADD = $(top_builddir)/libglusterfs/src/ \
client_la_SOURCES = client.c client-helpers.c client-rpc-fops.c \
- client-handshake.c client-callback.c client-lk.c client-common.c
+ client-handshake.c client-callback.c client-lk.c client-common.c \
+ client-rpc-fops_v2.c
noinst_HEADERS = client.h client-mem-types.h client-messages.h client-common.h