diff options
author | Rajesh Amaravathi <rajesh.amaravathi@gmail.com> | 2011-09-12 17:29:47 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-19 05:39:13 -0700 |
commit | b23d329608163ee2aa1aa89b907a5a6e50291464 (patch) | |
tree | 412bb8a00f5b7c4a7dda8f740855dfeefe6b780d /xlators/mgmt/glusterd/src/glusterd.h | |
parent | 8ad4d3f53000724389db6003ca6d6d777b880017 (diff) |
glusterd: provide a option to start processes with valgrind
By enabling the brick-with-valgrind option in glusterd,
one can automatically start all bricks with valgrind monitoring
them.
Change-Id: Ib0a97a83c4461c0878454e96bc84462f6cad6bc8
BUG: 3461
Reviewed-on: http://review.gluster.com/311
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 45890a5d8..ab521af0f 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -112,6 +112,9 @@ typedef struct { glusterd_sm_tr_log_t op_sm_log; struct rpc_clnt_program *gfs_mgmt; struct list_head mount_specs; +#ifdef DEBUG + gf_boolean_t valgrind; +#endif } glusterd_conf_t; typedef enum gf_brick_status { |