summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.h
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2011-04-15 09:15:23 +0000
committerAnand Avati <avati@gluster.com>2011-04-15 23:33:22 -0700
commit5c9c2555911d8d7131e3c0d918f6ee9c0b3b612f (patch)
tree7e1ee383e014af09e3653ce1d400a9684ad1df5f /xlators/mgmt/glusterd/src/glusterd-op-sm.h
parent2479f442ca8f9e2dd23988e1f2dc20238443a769 (diff)
mgmt/glusterd: does not allow disabling of indexing (xtime marking), if a gsync session is active.
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2559 (provide two options in CLI for gluster volume gsync indexing <volname> <enable|disable>) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2559
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
index 52e36ed3a71..d550b108cca 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
@@ -306,4 +306,6 @@ gsync_status (char *master, char *slave, int *status);
int
glusterd_gsync_get_param_file (char *prmfile, const char *ext, char *master,
char *slave, char *gl_workdir);
+int
+glusterd_check_gsync_running (glusterd_volinfo_t *volinfo, gf_boolean_t *flag);
#endif