summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-mgmt.h
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2013-11-21 03:48:32 +0000
committerAvra Sengupta <asengupt@redhat.com>2013-12-03 02:59:13 +0000
commitf834bbc2714a52db7955474ee362321c4f6617ce (patch)
tree38ac085398675d7eea44239383393cf3c1005e13 /xlators/mgmt/glusterd/src/glusterd-mgmt.h
parent79a2b1997459cf6932e929488b0ade3535b9ced9 (diff)
glusterd/mgmtv3: Fetching snap mount path per brick.
Fetching snap mount path per brick during pre-validate and aggregating it before commit to generate all brick volfiles and all client volfiles on all nodes. Added changes to propagate the same cg-id by generating it in pre-validate and sending the same to all the nodes during commit Also fixed volume-id mismatches caused in snap-volumes leading to failures of volume status Change-Id: I0b8ed81ac93077cd50313e6eeed00f71932cf2ac Signed-off-by: Avra Sengupta <asengupt@redhat.com> Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-mgmt.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-mgmt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-mgmt.h b/xlators/mgmt/glusterd/src/glusterd-mgmt.h
index 8c085d18c..25ce32e01 100644
--- a/xlators/mgmt/glusterd/src/glusterd-mgmt.h
+++ b/xlators/mgmt/glusterd/src/glusterd-mgmt.h
@@ -38,4 +38,8 @@ glusterd_mgmt_v3_initiate_all_phases (rpcsvc_request_t *req, glusterd_op_t op,
int32_t
glusterd_mgmt_v3_initiate_snap_phases (rpcsvc_request_t *req, glusterd_op_t op,
dict_t *dict);
+
+int
+glusterd_snap_pre_validate_use_rsp_dict (dict_t *dst, dict_t *src);
+
#endif