2016-02-27 12:53:06 +05:30
|
|
|
#ifndef METADATA_COUNTER_H
|
|
|
|
#define METADATA_COUNTER_H
|
|
|
|
|
|
|
|
#include "thin-provisioning/metadata.h"
|
|
|
|
#include "persistent-data/data-structures/btree_counter.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace thin_provisioning {
|
2020-08-11 20:12:32 +05:30
|
|
|
bool count_metadata(transaction_manager::ptr tm,
|
2016-06-19 22:10:10 +05:30
|
|
|
superblock_detail::superblock const &sb,
|
2016-02-27 12:53:06 +05:30
|
|
|
block_counter &bc,
|
|
|
|
bool skip_metadata_snap = false);
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|