[thin_show_duplicates] wip

This commit is contained in:
Joe Thornber
2015-08-19 12:32:57 +01:00
parent dbd0c65088
commit 59a622670c
4 changed files with 124 additions and 8 deletions

View File

@@ -223,6 +223,7 @@ namespace persistent_data {
unsigned max_concurrent_blocks,
mode m,
bool excl)
// FIXME: * BlockSize ?
: fd_(open_or_create_block_file(path, nr_blocks * BlockSize, m, excl)),
bc_(fd_, BlockSize >> SECTOR_SHIFT, nr_blocks, 1024u * 1024u * 16),
superblock_ref_count_(0)