[caching/metadata] setup the hint array when reopening metadata
This commit is contained in:
1 parent
8cfffe309c
commit
8af2f0cb1f
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user