[thin_show_dups] tidy up reporting

This commit is contained in:
Joe Thornber
2015-09-04 15:16:49 +01:00
parent 41a1b85c27
commit 251762e6d9
8 changed files with 58 additions and 72 deletions

View File

@@ -32,11 +32,10 @@ namespace thin_provisioning {
transaction_manager::ptr tm, superblock_detail::superblock const &sb,
block_address nr_blocks);
block_address nr_chunks() const;
block_address size() const;
void rewind();
bool next(block_address count = 1ull);
bool eof() const;
block_address index() const;
chunk const &get();
void put(chunk const &c);
@@ -56,6 +55,8 @@ namespace thin_provisioning {
cache_stream &stream_;
vector<uint32_t> block_to_thin_;
block_address nr_mapped_;
block_address index_;
block_address block_size_;
};
}