One step closer to group reporting
[fio.git] / engines / cpu.c
index 27ec6da1f261575bdd98999cacb81184e2c78d77..c89a4c9e26c75fcb5c022e50735c2fc057d41601 100644 (file)
@@ -9,7 +9,7 @@ static int fio_cpuio_setup(struct thread_data fio_unused *td)
 static int fio_cpuio_init(struct thread_data *td)
 {
        if (!td->cpuload) {
-               td_vmsg(td, EINVAL, "cpu thread needs rate");
+               td_vmsg(td, EINVAL, "cpu thread needs rate", "cpu_load");
                return 1;
        } else if (td->cpuload > 100)
                td->cpuload = 100;
@@ -24,7 +24,7 @@ static struct ioengine_ops ioengine = {
        .version        = FIO_IOOPS_VERSION,
        .init           = fio_cpuio_init,
        .setup          = fio_cpuio_setup,
-       .flags          = FIO_CPUIO | FIO_NULLIO,
+       .flags          = FIO_CPUIO,
 };
 
 static void fio_init fio_cpuio_register(void)