From 7bfaed649bf8a479afd051ea3c5adc7a4717b2fa Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 5 Apr 2011 10:22:57 +0000 Subject: change occurrences of marker_gsync to marker-gsync Signed-off-by: Vijay Bellur BUG: 2473 (Support for volume and directory level quota) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2473 --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 4 ++-- xlators/mgmt/glusterd/src/glusterd-volgen.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 0ae4f93e359..970ee716dd1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -1988,7 +1988,7 @@ glusterd_op_stage_gsync_set (dict_t *dict, char **op_errstr) gf_log ("", GF_LOG_WARNING, "gsync not running"); *op_errstr = gf_strdup ("gsync not running"); glusterd_gsync_volinfo_dict_set (volinfo, - "features.marker_gsync", "off"); + "features.marker-gsync", "off"); ret = -1; goto out; } else if (ret == -1) { @@ -3926,7 +3926,7 @@ glusterd_set_marker_gsync (char *master, char *value) } ret = glusterd_gsync_volinfo_dict_set (volinfo, - "features.marker_gsync", value); + "features.marker-gsync", value); if (ret < 0) goto out; diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index bdfe19fe76d..88ab2a27b3c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -141,7 +141,7 @@ static struct volopt_map_entry glusterd_volopt_map[] = { {"performance.quick-read", "performance/quick-read", "!perf", "on", NO_DOC}, /* NODOC */ {"performance.stat-prefetch", "performance/stat-prefetch", "!perf", "on", NO_DOC}, /* NODOC */ - {"features.marker_gsync", "features/marker", "gsync", "off", NO_DOC}, + {"features.marker-gsync", "features/marker", "gsync", "off", NO_DOC}, {"nfs.enable-ino32", "nfs/server", "nfs.enable-ino32", NULL, GLOBAL_DOC}, {"nfs.mem-factor", "nfs/server", "nfs.mem-factor", NULL, GLOBAL_DOC}, @@ -1140,7 +1140,7 @@ glusterd_gsync_option_set (glusterd_volinfo_t *volinfo, GF_VALIDATE_OR_GOTO ("glusterd", xl, out); GF_VALIDATE_OR_GOTO ("glusterd", set_dict, out); - ret = volgen_dict_get (set_dict, "features.marker_gsync", + ret = volgen_dict_get (set_dict, "features.marker-gsync", &gsync_val); if (ret) return -1; @@ -1149,7 +1149,7 @@ glusterd_gsync_option_set (glusterd_volinfo_t *volinfo, ret = gf_string2boolean (gsync_val, &gsync); if (ret) { gf_log ("", GF_LOG_ERROR, - "value for marker_gsync option is junk"); + "value for marker-gsync option is junk"); return -1; } get_vol_tstamp_file (tstamp_file, volinfo); -- cgit