2013-04-29 17:54:19 +05:30
|
|
|
#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 20:07:53 +05:30
|
|
|
device_checker(block_manager::ptr bm, block_address btree_root);
|
2013-04-29 17:54:19 +05:30
|
|
|
damage_list_ptr check();
|
2013-04-29 20:07:53 +05:30
|
|
|
|
|
|
|
private:
|
|
|
|
block_address root_;
|
2013-04-29 17:54:19 +05:30
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|