diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-19 15:52:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-19 15:52:21 +0000 |
commit | 86ba133b8efa6fcc704a6cd08fda509b1c366eee (patch) | |
tree | 882eb74a5b2b3be326f7284822b761b604ced5f2 /src/fs/gnunet-service-fs_cp.h | |
parent | e5607fbc97ee4d5c67589d31217fba947bea7131 (diff) | |
download | gnunet-86ba133b8efa6fcc704a6cd08fda509b1c366eee.tar.gz gnunet-86ba133b8efa6fcc704a6cd08fda509b1c366eee.zip |
block data migration based on lowest discarded expiration of content in the datastore to avoid wasting bandwidth on migrating content that is just instantly discarded again anyway
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.h')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h index 11be4c6f1..1abec2ad0 100644 --- a/src/fs/gnunet-service-fs_cp.h +++ b/src/fs/gnunet-service-fs_cp.h | |||
@@ -140,10 +140,6 @@ struct GSF_PeerPerformanceData | |||
140 | */ | 140 | */ |
141 | unsigned int pending_replies; | 141 | unsigned int pending_replies; |
142 | 142 | ||
143 | /** | ||
144 | * How many of the last blocks from migration were duplicates? | ||
145 | */ | ||
146 | unsigned int migration_duplication; | ||
147 | }; | 143 | }; |
148 | 144 | ||
149 | 145 | ||
@@ -339,7 +335,7 @@ GSF_get_peer_performance_data_ (struct GSF_ConnectedPeer *cp); | |||
339 | */ | 335 | */ |
340 | void | 336 | void |
341 | GSF_block_peer_migration_ (struct GSF_ConnectedPeer *cp, | 337 | GSF_block_peer_migration_ (struct GSF_ConnectedPeer *cp, |
342 | struct GNUNET_TIME_Relative block_time); | 338 | struct GNUNET_TIME_Absolute block_time); |
343 | 339 | ||
344 | 340 | ||
345 | /** | 341 | /** |