Introducing support for generation of dedup buffers
[fio.git] / init.c
diff --git a/init.c b/init.c
index 6f1860518f689814913209ceb2f836b428bc41fb..f7d702f849c7c39797912c8d7774b0fc6dccf908 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1541,7 +1541,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num,
        if (fixup_options(td))
                goto err;
 
-       if (init_dedupe_working_set_seeds(td))
+       if (!td->o.dedupe_global && init_dedupe_working_set_seeds(td, 0))
                goto err;
 
        /*