[thin_generate_metadata] Support setting the needs_check flag

This commit is contained in:
Ming-Hung Tsai
2020-07-21 17:33:52 +08:00
parent aabc3a9dbc
commit 8d8ee51599
3 changed files with 19 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ namespace thin_provisioning {
thin::ptr open_thin(thin_dev_t);
void close_thin(thin::ptr td);
// updates the superblock
void set_needs_check();
private:
friend class thin;
typedef std::map<thin_dev_t, thin::ptr> device_map;