summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heald.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-10-24 08:27:40 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-28 05:01:25 -0700
commitea4cd6ff18bb811b053b8fc6bcef7d6377dac30b (patch)
tree133f923afabca3a825d4a28edc07c7aaad0449e2 /xlators/cluster/afr/src/afr-self-heald.h
parent2712393ba21dbfdc7b3443ed019d35ab60628b2a (diff)
pump: Change crawl to accommodate afr_lookup changes
Change-Id: I600120252445c06d9cc3e7aa24022c2559b6abe2 BUG: 3747 Reviewed-on: http://review.gluster.com/638 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.h')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.h b/xlators/cluster/afr/src/afr-self-heald.h
index 5d7892fa785..d5f9552c1d5 100644
--- a/xlators/cluster/afr/src/afr-self-heald.h
+++ b/xlators/cluster/afr/src/afr-self-heald.h
@@ -37,4 +37,13 @@ void afr_build_root_loc (inode_t *inode, loc_t *loc);
int afr_set_root_gfid (dict_t *dict);
+inline void
+afr_generate_gfid_on_empty (uuid_t gfid);
+
+inline void
+afr_empty_gfid_on_set (uuid_t gfid, int lookup_status, struct iatt *iatt);
+
+inline void
+afr_fill_loc_info (loc_t *loc, struct iatt *iatt, struct iatt *parent);
+
#endif /* __AFR_SELF_HEALD_H__ */