thin-provisioning-tools/space_map_disk.h

26 lines
637 B
C
Raw Normal View History

2011-07-22 20:39:56 +05:30
#ifndef SPACE_MAP_DISK_H
#define SPACE_MAP_DISK_H
#include "btree_checker.h"
2011-07-22 20:39:56 +05:30
#include "space_map.h"
//----------------------------------------------------------------
namespace persistent_data {
checked_space_map::ptr
create_disk_sm(transaction_manager::ptr tm, block_address nr_blocks);
checked_space_map::ptr
open_disk_sm(transaction_manager::ptr tm, void *root);
2011-07-22 20:39:56 +05:30
checked_space_map::ptr
create_metadata_sm(transaction_manager::ptr tm, block_address nr_blocks);
checked_space_map::ptr
open_metadata_sm(transaction_manager::ptr tm, void *root);
2011-07-22 20:39:56 +05:30
}
//----------------------------------------------------------------
#endif