diff --git a/pcompress.c b/pcompress.c index d3aee22..7252c8b 100644 --- a/pcompress.c +++ b/pcompress.c @@ -2527,6 +2527,7 @@ create_pc_context(void) ctx->hide_mem_stats = 1; ctx->hide_cmp_stats = 1; ctx->enable_rabin_split = 1; + ctx->rab_blk_size = 1; return (ctx); } diff --git a/rabin/rabin_dedup.c b/rabin/rabin_dedup.c index 737bbd8..c9eebc3 100755 --- a/rabin/rabin_dedup.c +++ b/rabin/rabin_dedup.c @@ -882,6 +882,7 @@ process_blocks: * predictable serialization of index access in a sequence of * threads without locking. */ + printf("Using simple dedupe index.\n"); length = 0; DEBUG_STAT_EN(w1 = get_wtime_millis()); sem_wait(ctx->index_sem); @@ -968,6 +969,7 @@ process_blocks: * ====================================================================== */ + printf("Using similarity based dedupe index.\n"); cfg = ctx->arc; assert(cfg->similarity_cksum_sz == sizeof (uint64_t)); seg_heap = (uchar_t *)(ctx->g_blocks) - cfg->segment_sz * cfg->chunk_cksum_sz;