From 9bc0cf820ace2df58fc666f4ff4c7c50973b60a3 Mon Sep 17 00:00:00 2001 From: Samikshan Bairagya Date: Mon, 31 Jul 2017 10:51:21 +0530 Subject: glusterd: Add geo-replication session details to get-state output This commit adds support to the get-state CLI to capture details on geo-replication session as obtained in `gluster volume geo-replication status detail` in its output. > Reviewed-on: https://review.gluster.org/17941 > Smoke: Gluster Build System > Reviewed-by: Shubhendu Tripathi > CentOS-regression: Gluster Build System > Reviewed-by: Atin Mukherjee (cherry picked from commit 2e7daeffef05c6100cbcc39f1be62935711db3eb) Fixes: #291 Change-Id: I2fbcba70bfdaf439522637234805545194777ed4 Signed-off-by: Samikshan Bairagya Reviewed-on: https://review.gluster.org/17971 CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Shyamsundar Ranganathan --- xlators/mgmt/glusterd/src/glusterd-geo-rep.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-geo-rep.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.h b/xlators/mgmt/glusterd/src/glusterd-geo-rep.h index 045bc2e4ba7..8d08bcda50e 100644 --- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.h +++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.h @@ -45,5 +45,9 @@ int _get_slave_status (dict_t *dict, char *key, data_t *value, void *data); int glusterd_check_geo_rep_running (gsync_status_param_t *param, char **op_errstr); + +int +glusterd_get_gsync_status_mst (glusterd_volinfo_t *volinfo, dict_t *rsp_dict, + char *node); #endif -- cgit