diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-12-24 05:30:40 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-28 04:39:20 -0800 |
commit | 9658e13bd91849f75d968376aae5b937aabec512 (patch) | |
tree | 23f22472a602f90f616f5c8a178a970d82f293a7 /xlators/cluster/afr/src/afr-self-heal-algorithm.h | |
parent | 9331e101a4cd0a3faff25cf7dd603762296c7345 (diff) |
cluster/afr: Report number of blocks healed during diff self-heal.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.h')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-algorithm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-algorithm.h b/xlators/cluster/afr/src/afr-self-heal-algorithm.h index 7ef324477e1..b9c58b5cb1b 100644 --- a/xlators/cluster/afr/src/afr-self-heal-algorithm.h +++ b/xlators/cluster/afr/src/afr-self-heal-algorithm.h @@ -46,6 +46,9 @@ typedef struct { gf_lock_t lock; unsigned int loops_running; off_t offset; + + int32_t total_blocks; + int32_t diff_blocks; } afr_sh_algo_diff_private_t; #endif /* __AFR_SELF_HEAL_ALGORITHM_H__ */ |