summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-11-24 08:45:08 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 06:40:04 -0800
commit218959e0597b16755a98b19786ed6a42cd15cbc4 (patch)
tree41284d9c6a80991d50a5760178ac2dd4201cf5c9 /xlators/cluster/afr/src/afr.h
parent9e3fddb13769288ddc13db3125b8bedf26058cdf (diff)
cluster/afr: Provide a post-post_op hook in the transaction.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 170 (Auto-heal fails on files that are open()-ed/mmap()-ed) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=170
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index 412f38afc79..23e75e6126a 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -493,6 +493,9 @@ typedef struct _afr_local {
int (*resume) (call_frame_t *frame, xlator_t *this);
int (*unwind) (call_frame_t *frame, xlator_t *this);
+
+ /* post-op hook */
+ int (*post_post_op) (call_frame_t *frame, xlator_t *this);
} transaction;
afr_self_heal_t self_heal;