summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-lib/src/protocol-common.h3
-rw-r--r--rpc/xdr/src/glusterfs3-xdr.x18
2 files changed, 20 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h
index e711f33..ae6189d 100644
--- a/rpc/rpc-lib/src/protocol-common.h
+++ b/rpc/rpc-lib/src/protocol-common.h
@@ -63,8 +63,9 @@ enum gf_fop_procnum {
GFS3_OP_SEEK,
GFS3_OP_COMPOUND,
GFS3_OP_LEASE,
+ GFS3_OP_GETACTIVELK,
GFS3_OP_MAXVALUE,
-} ;
+};
enum gf_handshake_procnum {
GF_HNDSK_NULL,
diff --git a/rpc/xdr/src/glusterfs3-xdr.x b/rpc/xdr/src/glusterfs3-xdr.x
index 33f1a93..f0c5f12 100644
--- a/rpc/xdr/src/glusterfs3-xdr.x
+++ b/rpc/xdr/src/glusterfs3-xdr.x
@@ -962,3 +962,21 @@ struct gfs3_compound_rsp {
compound_rsp compound_rsp_array<>;
opaque xdata<>;
};
+
+struct gfs3_locklist {
+ struct gf_proto_flock flock;
+ string client_uid<>;
+ struct gfs3_locklist *nextentry;
+};
+
+struct gfs3_getactivelk_rsp {
+ int op_ret;
+ int op_errno;
+ struct gfs3_locklist *reply;
+ opaque xdata<>;
+};
+
+struct gfs3_getactivelk_req {
+ opaque gfid[16];
+ opaque xdata<>;
+};