summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.c
diff options
context:
space:
mode:
authorRahul C S <rahulcs@redhat.com>2012-03-17 18:32:04 +0530
committerAnand Avati <avati@redhat.com>2012-03-17 23:45:04 -0700
commitbf818f9a9e299475b09b85e28f3bca57f4a00624 (patch)
tree58d01e8efd35a9380fc52cbf2f6d350e155703e6 /xlators/mgmt/glusterd/src/glusterd.c
parenta3c8c7be83a4be1cb3d89a187da05d9247cc4f07 (diff)
Change option brick-with-valgrind to run-with-valgrind
brick-with-valgrind does not make much sense because all the glusterfs/glusterfsd server processes are run with valgrind. So changing the option from brick-with-valgrind to run-with-valgrind. Also fix misspelt 'valgrnd' for valgrind log file namenames. Change-Id: I87aad6d65ffc37d8f8679be215709a9174385ecd BUG: 804293 Signed-off-by: Rahul C S <rahulcs@redhat.com> Reviewed-on: http://review.gluster.com/2965 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 3ffd7b8ebc5..b92a08a1962 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -954,15 +954,15 @@ init (xlator_t *this)
/* Set option to run bricks on valgrind if enabled in glusterd.vol */
#ifdef DEBUG
conf->valgrind = _gf_false;
- ret = dict_get_str (this->options, "brick-with-valgrind", &valgrind_str);
+ ret = dict_get_str (this->options, "run-with-valgrind", &valgrind_str);
if (ret < 0) {
gf_log (this->name, GF_LOG_DEBUG,
- "cannot get brick-with-valgrind value");
+ "cannot get run-with-valgrind value");
}
if (valgrind_str) {
if (gf_string2boolean (valgrind_str, &(conf->valgrind))) {
gf_log (this->name, GF_LOG_WARNING,
- "brick-with-valgrind value not a boolean string");
+ "run-with-valgrind value not a boolean string");
}
}
#endif
@@ -1131,7 +1131,7 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_ANY,
},
#ifdef DEBUG
- { .key = {"brick-with-valgrind"},
+ { .key = {"run-with-valgrind"},
.type = GF_OPTION_TYPE_BOOL,
},
#endif