diff options
Diffstat (limited to 'libglusterfs/src/defaults.h')
-rw-r--r-- | libglusterfs/src/defaults.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/defaults.h b/libglusterfs/src/defaults.h index 87ab8f19dd5..2fc6a46de1f 100644 --- a/libglusterfs/src/defaults.h +++ b/libglusterfs/src/defaults.h @@ -77,6 +77,7 @@ typedef struct { gf_seek_what_t what; dict_t *xdata; struct gf_lease lease; + lock_migration_info_t locklist; } default_args_t; typedef struct { @@ -349,6 +350,10 @@ int32_t default_getactivelk (call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata); +int32_t +default_setactivelk (call_frame_t *frame, xlator_t *this, loc_t *loc, + lock_migration_info_t *locklist, dict_t *xdata); + /* Resume */ int32_t default_getspec_resume (call_frame_t *frame, xlator_t *this, @@ -866,6 +871,11 @@ int32_t default_getactivelk_resume (call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata); +int32_t +default_setactivelk_resume (call_frame_t *frame, xlator_t *this, loc_t *loc, + lock_migration_info_t *locklist, dict_t *xdata); + + /* _CBK */ int32_t default_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, @@ -1253,5 +1263,9 @@ default_getactivelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this, dict_t *xdata); int32_t +default_setactivelk_cbk (call_frame_t *frame, void *cookie, xlator_t *this, + int32_t op_ret, int32_t op_errno, dict_t *xdata); + +int32_t default_mem_acct_init (xlator_t *this); #endif /* _DEFAULTS_H */ |