Introduce persistent-data/data-structures/
This commit is contained in:
parent
d362fdc867
commit
aacca8d963
10
Makefile.in
10
Makefile.in
@ -32,11 +32,13 @@ SOURCE=\
|
||||
persistent-data/error_set.cc \
|
||||
persistent-data/hex_dump.cc \
|
||||
persistent-data/lock_tracker.cc \
|
||||
persistent-data/transaction_manager.cc \
|
||||
\
|
||||
persistent-data/space_map.cc \
|
||||
persistent-data/space-maps/disk.cc \
|
||||
persistent-data/space-maps/recursive.cc \
|
||||
persistent-data/space-maps/careful_alloc.cc \
|
||||
persistent-data/transaction_manager.cc \
|
||||
\
|
||||
thin-provisioning/human_readable_format.cc \
|
||||
thin-provisioning/metadata.cc \
|
||||
thin-provisioning/metadata_checker.cc \
|
||||
@ -112,9 +114,9 @@ THIN_CHECK_SOURCE=\
|
||||
persistent-data/hex_dump.cc \
|
||||
persistent-data/lock_tracker.cc \
|
||||
persistent-data/space_map.cc \
|
||||
persistent-data/space_map_disk.cc \
|
||||
persistent-data/space_map_recursive.cc \
|
||||
persistent-data/space_map_careful_alloc.cc \
|
||||
persistent-data/space-maps/disk.cc \
|
||||
persistent-data/space-maps/recursive.cc \
|
||||
persistent-data/space-maps/careful_alloc.cc \
|
||||
persistent-data/transaction_manager.cc \
|
||||
thin-provisioning/metadata.cc \
|
||||
thin-provisioning/metadata_checker.cc \
|
||||
|
@ -19,8 +19,8 @@
|
||||
#ifndef BTREE_H
|
||||
#define BTREE_H
|
||||
|
||||
#include "endian_utils.h"
|
||||
#include "transaction_manager.h"
|
||||
#include "persistent-data/endian_utils.h"
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <boost/optional.hpp>
|
@ -18,9 +18,9 @@
|
||||
|
||||
#include "btree.h"
|
||||
|
||||
#include "errors.h"
|
||||
#include "checksum.h"
|
||||
#include "transaction_manager.h"
|
||||
#include "persistent-data/errors.h"
|
||||
#include "persistent-data/checksum.h"
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
|
||||
#include <iostream>
|
||||
|
@ -19,10 +19,11 @@
|
||||
#ifndef BTREE_CHECKER_H
|
||||
#define BTREE_CHECKER_H
|
||||
|
||||
#include "block_counter.h"
|
||||
#include "btree.h"
|
||||
#include "checksum.h"
|
||||
#include "error_set.h"
|
||||
|
||||
#include "persistent-data/block_counter.h"
|
||||
#include "persistent-data/checksum.h"
|
||||
#include "persistent-data/error_set.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <map>
|
@ -20,7 +20,7 @@
|
||||
#define SPACE_MAP_DISK_H
|
||||
|
||||
// FIXME: why is btree_checker needed?
|
||||
#include "persistent-data/btree_checker.h"
|
||||
#include "persistent-data/data-structures/btree_checker.h"
|
||||
#include "persistent-data/space_map.h"
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
@ -20,7 +20,9 @@
|
||||
#define SPACE_MAP_DISK_STRUCTURES_H
|
||||
|
||||
#include "persistent-data/endian_utils.h"
|
||||
#include "persistent-data/btree.h"
|
||||
|
||||
// FIXME: what's this included for?
|
||||
#include "persistent-data/data-structures/btree.h"
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define METADATA_LL_H
|
||||
|
||||
#include "persistent-data/block.h"
|
||||
#include "persistent-data/btree.h"
|
||||
#include "persistent-data/data-structures/btree.h"
|
||||
#include "persistent-data/endian_utils.h"
|
||||
#include "persistent-data/space-maps/disk.h"
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define METADATA_DISK_STRUCTURES_H
|
||||
|
||||
#include "persistent-data/endian_utils.h"
|
||||
#include "persistent-data/btree.h"
|
||||
#include "persistent-data/data-structures/btree.h"
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "persistent-data/btree.h"
|
||||
#include "persistent-data/data-structures/btree.h"
|
||||
#include "thin-provisioning/metadata.h"
|
||||
#include "thin-provisioning/metadata_checker.h"
|
||||
#include "version.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "thin-provisioning/thin_pool.h"
|
||||
|
||||
#include "persistent-data/btree_checker.h"
|
||||
#include "persistent-data/data-structures/btree_checker.h"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <sstream>
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "persistent-data/transaction_manager.h"
|
||||
#include "persistent-data/space-maps/core.h"
|
||||
#include "persistent-data/btree.h"
|
||||
#include "persistent-data/data-structures/btree.h"
|
||||
|
||||
#define BOOST_TEST_MODULE BTreeTests
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user