prefetch btree nodes when walking a tree
This commit is contained in:
@@ -270,6 +270,13 @@ namespace persistent_data {
|
||||
return bc_.get_nr_blocks();
|
||||
}
|
||||
|
||||
template <uint32_t BlockSize>
|
||||
void
|
||||
block_manager<BlockSize>::prefetch(block_address b) const
|
||||
{
|
||||
bc_.prefetch(b);
|
||||
}
|
||||
|
||||
template <uint32_t BlockSize>
|
||||
void
|
||||
block_manager<BlockSize>::flush() const
|
||||
|
Reference in New Issue
Block a user