diff options
author | Susant Palai <spalai@redhat.com> | 2016-04-17 10:14:02 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-05-01 18:04:21 -0700 |
commit | c4efd39d339535856c1a0a6b0fad2783587411c9 (patch) | |
tree | bd6b6e2c632b42bda264f7cc0327cca4159e49a3 /libglusterfs/src/glusterfs.h | |
parent | f1f6a0e2b09884151c37434bd512cb1482608218 (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/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 691492e10a5..86c3b2b81d9 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -501,6 +501,12 @@ struct gf_flock { gf_lkowner_t l_owner; }; +typedef struct lock_migration_info { + struct list_head list; + struct gf_flock flock; + char *client_uid; +} lock_migration_info_t; + #define GF_MUST_CHECK __attribute__((warn_unused_result)) /* * Some macros (e.g. ALLOC_OR_GOTO) set variables in function scope, but the @@ -540,4 +546,7 @@ glusterfs_graph_t *glusterfs_graph_new (); int glusterfs_graph_reconfigure (glusterfs_graph_t *oldgraph, glusterfs_graph_t *newgraph); +void +gf_free_mig_locks (lock_migration_info_t *locks); + #endif /* _GLUSTERFS_H */ |