diff options
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 2f57426621d..412f38afc79 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -118,6 +118,12 @@ typedef struct { /* private data for the particular self-heal algorithm */ void *private; + gf_boolean_t healing_fd_opened; /* set by caller: true if caller + has already opened fd */ + + gf_boolean_t data_lock_held; /* set by caller: true if caller + has already acquired 0-0 lock */ + int (*completion_cbk) (call_frame_t *frame, xlator_t *this); int (*algo_completion_cbk) (call_frame_t *frame, xlator_t *this); int (*algo_abort_cbk) (call_frame_t *frame, xlator_t *this); |