2013-04-29 13:24:19 +01:00
|
|
|
#ifndef THIN_DEVICE_CHECKER_H
|
|
|
|
#define THIN_DEVICE_CHECKER_H
|
|
|
|
|
|
|
|
#include "thin-provisioning/metadata_checker.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace thin_provisioning {
|
|
|
|
class device_checker : public checker {
|
|
|
|
public:
|
2013-04-29 15:37:53 +01:00
|
|
|
device_checker(block_manager::ptr bm, block_address btree_root);
|
2013-04-29 13:24:19 +01:00
|
|
|
damage_list_ptr check();
|
2013-04-29 15:37:53 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
block_address root_;
|
2013-04-29 13:24:19 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|