Fix check for size reduction in dedupe.
Tweak debug message for clarity.
This commit is contained in:
parent
3544a8c708
commit
333b7b011e
1 changed files with 2 additions and 1 deletions
|
@ -583,8 +583,9 @@ process_blocks:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DEBUG_STAT_EN(printf("Hash collisions: %u\n", hash_collisions));
|
DEBUG_STAT_EN(printf("Total Hashtable bucket collisions: %u\n", hash_collisions));
|
||||||
|
|
||||||
|
dedupe_index_sz = (ssize_t)blknum * RABIN_ENTRY_SIZE;
|
||||||
if (matchlen < dedupe_index_sz) {
|
if (matchlen < dedupe_index_sz) {
|
||||||
ctx->valid = 0;
|
ctx->valid = 0;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue