summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index 4de1f28201e..6a1c53ceefa 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -261,6 +261,7 @@ typedef struct _afr_local {
struct {
int32_t flags;
+ int32_t wbflags;
} open;
struct {
@@ -534,7 +535,10 @@ typedef struct _afr_local {
typedef struct {
unsigned char *pre_op_done;
+ unsigned char *opened_on; /* which subvolumes the fd is open on */
unsigned char *child_failed;
+ int flags;
+ int32_t wbflags;
uint64_t up_count; /* number of CHILD_UPs this fd has seen */
uint64_t down_count; /* number of CHILD_DOWNs this fd has seen */
} afr_fd_ctx_t;