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 f7bc6ea0f94..6cb708ffbd7 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -39,6 +39,8 @@ #define AFR_DOM_COUNT_MAX 3 #define AFR_NUM_CHANGE_LOGS 3 /*data + metadata + entry*/ +#define ARBITER_BRICK_INDEX 2 + typedef int (*afr_lock_cbk_t) (call_frame_t *frame, xlator_t *this); typedef int (*afr_read_txn_wind_t) (call_frame_t *frame, xlator_t *this, int subvol); @@ -656,6 +658,10 @@ typedef struct _afr_local { unsigned char *pre_op; + /* For arbiter configuration only. */ + dict_t **pre_op_xdata; + unsigned char *pre_op_sources; + /* @fop_subvols: subvolumes on which FOP will be attempted */ unsigned char *fop_subvols; |