diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-03-17 09:42:16 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-17 23:42:24 -0700 |
commit | e481921863d91dfce5550ce9722e99129f5979c2 (patch) | |
tree | a0ca6886b5b08807bdadc3c1017419f2d9e25d3e /xlators/mgmt/glusterd/src/glusterd.h | |
parent | bc8a9a21f8e3184b2138be3ca10280dfde3ce153 (diff) |
glusterd/snapshot : Restore fix.
Copy the snapshot present in origin volume to the restored volume.
Change-Id: Icea9f712ae062b50b570d27b85cd231903446198
BUG: 1077142
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7282
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.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 bcc376a6d..7e065b77b 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -306,6 +306,9 @@ struct glusterd_volinfo_ { glusterd_volinfo_t->snap_volumes */ struct list_head bricks; struct list_head snap_volumes; + /* TODO : Need to remove this, as this + * is already part of snapshot object. + */ glusterd_volume_status status; int sub_count; /* backward compatibility */ int stripe_count; |