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,
|
2020-08-22 01:47:50 +05:30
|
|
|
bool skip_metadata_snap = false,
|
|
|
|
bool ignore_non_fatal = false);
|
2016-02-27 12:53:06 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|