projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend tracking of used segments to cover metadata segments.
[cumulus.git]
/
localdb.h
diff --git
a/localdb.h
b/localdb.h
index
a89923f
..
1bfaf3b
100644
(file)
--- a/
localdb.h
+++ b/
localdb.h
@@
-31,6
+31,7
@@
public:
int *group);
bool IsAvailable(const ObjectReference &ref);
void UseObject(const ObjectReference& ref);
int *group);
bool IsAvailable(const ObjectReference &ref);
void UseObject(const ObjectReference& ref);
+ void UseSegment(const std::string &segment, double utilization);
void SetSegmentChecksum(const std::string &segment, const std::string &path,
const std::string &checksum, int size);
void SetSegmentChecksum(const std::string &segment, const std::string &path,
const std::string &checksum, int size);