engines/null: add FIO_ASYNCIO_SETS_ISSUE_TIME flag
[fio.git] / engines / null.c
index 2df567187d21747cb43886d1870a3baca9c38995..68759c26f1096e98d062ff178e7a88458eac8f5c 100644 (file)
@@ -113,9 +113,11 @@ static struct null_data *null_init(struct thread_data *td)
        if (td->o.iodepth != 1) {
                nd->io_us = (struct io_u **) malloc(td->o.iodepth * sizeof(struct io_u *));
                memset(nd->io_us, 0, td->o.iodepth * sizeof(struct io_u *));
+               td->io_ops->flags |= FIO_ASYNCIO_SETS_ISSUE_TIME;
        } else
                td->io_ops->flags |= FIO_SYNCIO;
 
+       td_set_ioengine_flags(td);
        return nd;
 }