diff options
author | Rajesh Joseph <rjoseph@redhat.com> | 2013-10-30 10:50:45 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-11-15 14:45:13 +0530 |
commit | 944e5529078cff3fd0ecbc30f037eddcc9bb63ae (patch) | |
tree | da5d6c2037fe555a25246b384cdc693589058381 /xlators/mgmt/glusterd/src/glusterd-store.c | |
parent | e9b9b38caabe778fad4b6f2fd9ba9d8cc100c7df (diff) |
snapshot: Snapshot restore
GL-31: Ability to restore snapshot
Implemented snapshot restore for thin logical volume. As of now snapshot
restore for CG is not tested. Testing for snapshot restore of a volume
is done by changing the snapshot create process to create a thick snapshot.
This is done because --merge option to restore thin volume is not working in
the latest kernel.
Change-Id: Ia3ded7e6c4da5957a74e269a25ba3200e6fb2d8b
Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index 7739f2f37..f24b319c9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -3263,7 +3263,7 @@ glusterd_store_retrieve_volumes (xlator_t *this) ret = glusterd_store_create_snap_list_sh_on_absence (volinfo); ret = glusterd_store_perform_snap_store (volinfo); - //glusterd_store_perform_snap_list_store (volinfo); + //ret = glusterd_store_perform_snap_list_store (volinfo); TODO: Fix this } glusterd_for_each_entry (entry, dir); |