[block-manager] Superblocks weren't being marked as DIRTY
Gulp
This commit is contained in:
parent
b493a30b65
commit
930cc9d412
@ -271,7 +271,7 @@ namespace persistent_data {
|
|||||||
if (bc_.get_nr_locked() > 0)
|
if (bc_.get_nr_locked() > 0)
|
||||||
throw std::runtime_error("attempt to lock superblock while other locks are still held");
|
throw std::runtime_error("attempt to lock superblock while other locks are still held");
|
||||||
|
|
||||||
block_cache::block &b = bc_.get(location, block_cache::GF_BARRIER, v);
|
block_cache::block &b = bc_.get(location, block_cache::GF_DIRTY | block_cache::GF_BARRIER, v);
|
||||||
return write_ref(b, superblock_ref_count_);
|
return write_ref(b, superblock_ref_count_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user