summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/defaults.h
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/defaults.h
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/defaults.h')
-rw-r--r--libglusterfs/src/defaults.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/defaults.h b/libglusterfs/src/defaults.h
index bcaac49b7af..87ab8f19dd5 100644
--- a/libglusterfs/src/defaults.h
+++ b/libglusterfs/src/defaults.h
@@ -44,6 +44,7 @@ typedef struct {
int valid; /* If the response is valid or not. For call-stub it is
always valid irrespective of this */
struct gf_lease lease;
+ lock_migration_info_t locklist;
} default_args_cbk_t;
typedef struct {
@@ -344,6 +345,9 @@ int32_t default_seek (call_frame_t *frame, xlator_t *this, fd_t *fd,
int32_t default_lease (call_frame_t *frame, xlator_t *this, loc_t *loc,
struct gf_lease *lease, dict_t *xdata);
+int32_t
+default_getactivelk (call_frame_t *frame, xlator_t *this, loc_t *loc,
+ dict_t *xdata);
/* Resume */
int32_t default_getspec_resume (call_frame_t *frame,
@@ -858,6 +862,10 @@ default_lease_cbk_resume (call_frame_t *frame, void *cookie, xlator_t *this,
int32_t op_ret, int32_t op_errno,
struct gf_lease *lease, dict_t *xdata);
+int32_t
+default_getactivelk_resume (call_frame_t *frame, xlator_t *this, loc_t *loc,
+ dict_t *xdata);
+
/* _CBK */
int32_t
default_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
@@ -1239,5 +1247,11 @@ int32_t
default_lease_failure_cbk (call_frame_t *frame, int32_t op_errno);
int32_t
+default_getactivelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
+ int32_t op_ret, int32_t op_errno,
+ lock_migration_info_t *locklist,
+ dict_t *xdata);
+
+int32_t
default_mem_acct_init (xlator_t *this);
#endif /* _DEFAULTS_H */