diff options
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 11a14905b4b..d6ca0448b09 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -508,6 +508,7 @@ struct gf_defrag_info_ { uint64_t total_failures; uint64_t skipped; uint64_t num_dirs_processed; + uint64_t size_processed; gf_lock_t lock; int cmd; pthread_t th; @@ -553,6 +554,10 @@ struct gf_defrag_info_ { /* backpointer to make it easier to write functions for rebalance */ xlator_t *this; + pthread_cond_t fc_wakeup_cond; + pthread_mutex_t fc_mutex; + + }; typedef struct gf_defrag_info_ gf_defrag_info_t; |