Do not auto-select Global Dedupe for below threshold buffers.

This commit is contained in:
Moinak Ghosh 2014-02-22 23:34:26 +05:30
parent 8a1f47917f
commit 9d40f3c2fb

View file

@ -3286,6 +3286,7 @@ init_pc_context(pc_ctx_t *pctx, int argc, char *argv[])
if (pctx->level > 4) pctx->enable_delta2_encode = 1; if (pctx->level > 4) pctx->enable_delta2_encode = 1;
if (pctx->level > 9) pctx->lzp_preprocess = 1; if (pctx->level > 9) pctx->lzp_preprocess = 1;
if (pctx->level > 3) { if (pctx->level > 3) {
if (pctx->chunksize >= RAB_MIN_CHUNK_SIZE_GLOBAL)
pctx->enable_rabin_global = 1; pctx->enable_rabin_global = 1;
pctx->enable_rabin_scan = 1; pctx->enable_rabin_scan = 1;
pctx->enable_rabin_split = 1; pctx->enable_rabin_split = 1;