summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2014-06-13 11:23:29 +0000
committerKrishnan Parthasarathi <kparthas@redhat.com>2014-06-13 20:55:27 -0700
commit7aa3630b1f5e07227e9cd167cbd717bd7932ae78 (patch)
treedc7b5cb0b18768a6807f674ffd841acc49fae130 /xlators/mgmt/glusterd/src/glusterd-utils.h
parent56438208c8ada12f878e0317c587a3642bf1a3a0 (diff)
glusterd/snapshot: Update fstype and fsuuid
Update fstype and fsuuid before creating missed snapshot Change-Id: Ie9af0065fab288bd1c1a26396428f0cee6335f97 BUG: 1109142 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/8062 Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: Justin Clift <justin@gluster.org> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index 2a22831fe41..1764f642d3f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -890,6 +890,7 @@ glusterd_snapd_set_online_status (glusterd_volinfo_t *volinfo,
int
glusterd_restart_snapds (glusterd_conf_t *priv);
+/* End snapd functions */
int32_t
glusterd_check_and_set_config_limit (glusterd_conf_t *priv);
@@ -897,10 +898,17 @@ glusterd_check_and_set_config_limit (glusterd_conf_t *priv);
int32_t
glusterd_is_snap_soft_limit_reached (glusterd_volinfo_t *volinfo,
dict_t *dict);
-/* End snapd functions */
int32_t
glusterd_find_brick_mount_path (char *brick_path, int32_t brick_count,
char **brick_mount_path);
+int
+glusterd_update_fstype (char *orig_brick_path,
+ glusterd_brickinfo_t *snap_brickinfo,
+ char *fstype, size_t fslen);
+
+int
+glusterd_update_fs_uuid (glusterd_brickinfo_t *brickinfo);
+
#endif