diff options
| author | shishir gowda <sgowda@redhat.com> | 2013-10-24 15:47:14 +0530 |
|---|---|---|
| committer | shishir gowda <sgowda@redhat.com> | 2013-10-29 16:50:53 +0530 |
| commit | 65289765e7491ad778230dc4cc8248dff260aa11 (patch) | |
| tree | b9d505f2030918a85fcdeee61b2af8058d001ae0 /xlators/mgmt/glusterd/src/glusterd.c | |
| parent | bd6089217135aed9aaa4a786590a14fc930ade6d (diff) | |
mgmt/glusterd: snapshot config changes
Also refactored code in glusterd for create command
Additionally, removed brick-op func from jarvis_iniate_all_phases
Change-Id: Iddcc332009c5716adee7f2b04c93b352fb983446
Signed-off-by: shishir gowda <sgowda@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 54b49549a..546d78b0b 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -1181,6 +1181,9 @@ init (xlator_t *this) conf->gfs_mgmt = &gd_brick_prog; strncpy (conf->workdir, workdir, PATH_MAX); + conf->snap_max_limit = GLUSTERD_SNAPS_MAX_LIMIT; + //TODO: read from saved value and update + synclock_init (&conf->big_lock); pthread_mutex_init (&conf->xprt_lock, NULL); INIT_LIST_HEAD (&conf->xprt_list); |
