test: fix t/run-fio-tests.py style issues identified by pylint
[fio.git] / engines / cpu.c
index ccbfe00355a0b79d10885d86ded205dbe728935e..ce74dbcea8758e776b03b02d41ebb1489cc490c7 100644 (file)
@@ -268,6 +268,7 @@ static int fio_cpuio_init(struct thread_data *td)
         * set thinktime_sleep and thinktime_spin appropriately
         */
        o->thinktime_blocks = 1;
+       o->thinktime_blocks_type = THINKTIME_BLOCKS_TYPE_COMPLETE;
        o->thinktime_spin = 0;
        o->thinktime = ((unsigned long long) co->cpucycle *
                                (100 - co->cpuload)) / co->cpuload;