2013-04-25 20:57:07 +05:30
|
|
|
#ifndef THIN_SUPERBLOCK_CHECKER_H
|
|
|
|
#define THIN_SUPERBLOCK_CHECKER_H
|
|
|
|
|
|
|
|
#include "thin-provisioning/metadata_checker.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace thin_provisioning {
|
|
|
|
class superblock_checker : public checker {
|
|
|
|
public:
|
|
|
|
superblock_checker(block_manager::ptr bm);
|
2013-04-29 17:54:19 +05:30
|
|
|
damage_list_ptr check();
|
2013-04-25 20:57:07 +05:30
|
|
|
|
|
|
|
private:
|
2013-04-29 17:54:19 +05:30
|
|
|
// FIXME: surely we can push these down to the base class?
|
2013-04-25 20:57:07 +05:30
|
|
|
block_manager::ptr bm_;
|
|
|
|
damage_list_ptr damage;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|