summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs/glusterfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/glusterfs/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs/glusterfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h
index 155bf43..0b2d7b1 100644
--- a/libglusterfs/src/glusterfs/glusterfs.h
+++ b/libglusterfs/src/glusterfs/glusterfs.h
@@ -596,6 +596,7 @@ struct _glusterfs_graph {
pthread_cond_t child_down_cond; /* for broadcasting CHILD_DOWN */
int parent_down;
char graph_uuid[128];
+ char volume_id[GF_UUID_BUF_SIZE];
};
typedef struct _glusterfs_graph glusterfs_graph_t;
@@ -731,6 +732,8 @@ struct _glusterfs_ctx {
pthread_cond_t janitor_cond;
pthread_mutex_t janitor_lock;
pthread_t janitor;
+
+ char volume_id[GF_UUID_BUF_SIZE]; /* Used only in protocol/client */
};
typedef struct _glusterfs_ctx glusterfs_ctx_t;