summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorVijaikumar M <vmallika@redhat.com>2014-03-21 11:43:10 +0530
committerRajesh Joseph <rjoseph@redhat.com>2014-03-25 02:43:37 -0700
commitcb9bb522972b6cff45c0b6646100151e30e6424c (patch)
treea06e771ace5e43378552e557c7c1410d18366115 /xlators/mgmt/glusterd/src/glusterd-utils.h
parent36ed5cfb45a63196b8350e32c1a0b81aedb3f51f (diff)
glusterd/snapshot: populate the snapshot volume list in the order when the glusterd is restarted
We are storing the snapshot objects in the order. We need to do the same for snapshot volumes Change-Id: Iea9594632e52d069f167cc8a840c78d0f7109947 Signed-off-by: Vijaikumar M <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/7307 Reviewed-by: Sachin Pandit <spandit@redhat.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index f15f30552..ae2406c37 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -610,6 +610,9 @@ glusterd_get_brick_root (char *path, char **mount_point);
int
glusterd_compare_snap_time(struct list_head *, struct list_head *);
+int
+glusterd_compare_snap_vol_time(struct list_head *, struct list_head *);
+
int32_t
glusterd_snap_volinfo_restore (glusterd_volinfo_t *new_volinfo,
glusterd_volinfo_t *snap_volinfo);