Some test utils
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "persistent-data/block.h"
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
@ -36,6 +37,9 @@ namespace test {
|
||||
block_io<BlockSize>::CREATE));
|
||||
}
|
||||
|
||||
// Don't use this to update the metadata.
|
||||
transaction_manager::ptr open_temporary_tm(block_manager<>::ptr bm);
|
||||
|
||||
void zero_block(block_manager<>::ptr bm, block_address b);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user