[thin_show_dups] remove variable number of mems per chunks.

Too slow and not used.
This commit is contained in:
Joe Thornber
2015-09-04 13:48:02 +01:00
parent 3b96812328
commit 216e5acb6c
6 changed files with 22 additions and 36 deletions

View File

@@ -28,6 +28,11 @@
namespace thin_provisioning {
struct mem {
mem()
: begin(0),
end(0) {
}
mem(uint8_t *b, uint8_t *e)
: begin(b),
end(e) {
@@ -38,9 +43,7 @@ namespace thin_provisioning {
struct chunk {
uint64_t offset_, len_;
std::deque<mem> mem_;
uint8_t operator[](uint64_t n) const;
mem mem_;
};
class chunk_stream {