[caching/metadata] setup the hint array when reopening metadata

This commit is contained in:
Joe Thornber 2013-10-10 11:26:55 +01:00
parent 8cfffe309c
commit 8af2f0cb1f

View File

@ -107,6 +107,11 @@ metadata::open_metadata(block_manager<>::ptr bm)
mapping_array::ref_counter(),
sb_.mapping_root,
sb_.cache_blocks));
if (sb_.hint_root)
hints_ = hint_array::ptr(
new hint_array(tm_, sb_.policy_hint_size,
sb_.hint_root, sb_.cache_blocks));
}
void