[thin_pool] Implement synchronous mapping insertion and removal

This commit is contained in:
Ming-Hung Tsai
2020-06-02 01:16:38 +08:00
parent 383ae78871
commit 598696bc32
2 changed files with 41 additions and 0 deletions

View File

@@ -109,6 +109,10 @@ namespace thin_provisioning {
metadata::ptr md_;
device_map thin_devices_;
};
void process_read(thin::ptr td, thin_pool::ptr tp, sector_t offset);
void process_write(thin::ptr td, thin_pool::ptr tp, sector_t offset);
void process_discard(thin::ptr td, thin_pool::ptr tp, sector_t offset);
};
//----------------------------------------------------------------