summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/generator.py
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2016-04-17 10:14:02 +0530
committerNiels de Vos <ndevos@redhat.com>2016-05-01 18:04:21 -0700
commitc4efd39d339535856c1a0a6b0fad2783587411c9 (patch)
treebd6b6e2c632b42bda264f7cc0327cca4159e49a3 /libglusterfs/src/generator.py
parentf1f6a0e2b09884151c37434bd512cb1482608218 (diff)
core: add getactivelk () fop
Change-Id: Ifd0ff278dcf43da064021f5c25e5dcd34347fcde BUG: 1326085 Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/13970 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/generator.py')
-rwxr-xr-xlibglusterfs/src/generator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/libglusterfs/src/generator.py b/libglusterfs/src/generator.py
index 15e31e3aa73..1596437f590 100755
--- a/libglusterfs/src/generator.py
+++ b/libglusterfs/src/generator.py
@@ -542,6 +542,13 @@ ops['lease'] = (
('cbk-arg', 'xdata', 'dict_t *'),
)
+ops['getactivelk'] = (
+ ('fop-arg', 'loc', 'loc_t *'),
+ ('fop-arg', 'xdata', 'dict_t *'),
+ ('cbk-arg', 'locklist', 'lock_migration_info_t *'),
+ ('cbk-arg', 'xdata', 'dict_t *'),
+)
+
#####################################################################
xlator_cbks['forget'] = (
('fn-arg', 'this', 'xlator_t *'),