[cache_restore/dump] mappings dump restore ok now

This commit is contained in:
Joe Thornber
2013-09-23 11:15:41 +01:00
parent dc97e0ea4e
commit 2e58332e49
5 changed files with 53 additions and 9 deletions

View File

@@ -79,7 +79,10 @@ namespace {
bool dirty) {
mapping_array_detail::mapping m;
m.oblock_ = oblock;
m.flags_ = 0;
m.flags_ = M_VALID;
if (dirty)
m.flags_ = m.flags_ | M_DIRTY;
md_->mappings_->set(cblock, m);
}