summaryrefslogtreecommitdiffstats
path: root/rpc/xdr
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2016-04-30 18:00:44 +0530
committerNiels de Vos <ndevos@redhat.com>2016-05-01 18:04:31 -0700
commit2cca000fcc2adbffbb3f5258c57ae564b9e2d51f (patch)
tree971db1740040b652d226987baf417a33bb8ab035 /rpc/xdr
parentc823603f5aab0a60eb076ea43b869739745d9f21 (diff)
protocol: add getactivelk () fop
Change-Id: Ie38198db990f133fe163ba160cdf647e34f83f4f BUG: 1326085 Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/13994 Reviewed-by: Niels de Vos <ndevos@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/xdr')
-rw-r--r--rpc/xdr/src/glusterfs3-xdr.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterfs3-xdr.x b/rpc/xdr/src/glusterfs3-xdr.x
index 33f1a9357cf..f0c5f12301f 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<>;
+};