[caching] hint support

This commit is contained in:
Joe Thornber
2013-09-24 12:00:09 +01:00
parent 2e58332e49
commit 17f7c982f2
6 changed files with 192 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ metadata::commit()
{
commit_space_map();
commit_mappings();
commit_hints();
commit_superblock();
}
@@ -113,6 +114,12 @@ metadata::commit_mappings()
sb_.mapping_root = mappings_->get_root();
}
void
metadata::commit_hints()
{
sb_.hint_root = hints_->get_root();
}
void
metadata::commit_superblock()
{