diff options
author | shishir gowda <sgowda@redhat.com> | 2013-09-24 16:44:24 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-10-03 10:13:17 +0530 |
commit | a386092de70a7590c0bda1eb819a4089f4c50e48 (patch) | |
tree | c305f86a18db80be48d78d9b2367b2612f8d326c /xlators/mgmt/glusterd/src/glusterd.c | |
parent | a5ef7bc7de744d1324ddf63207b1172d11086441 (diff) |
mgmt/glusterd: Introduce snapshot infrastructurework
API's for creating, adding, finding, removing snapshots
and consistency groups are provided.
Change-Id: I5c15a464c001dffe756513c0286b31e43ae10c54
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index dc35f8bf0..bb03e5ba0 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -1123,6 +1123,8 @@ init (xlator_t *this) INIT_LIST_HEAD (&conf->peers); INIT_LIST_HEAD (&conf->volumes); + INIT_LIST_HEAD (&conf->snap_cg); + pthread_mutex_init (&conf->mutex, NULL); conf->rpc = rpc; conf->gfs_mgmt = &gd_brick_prog; |