projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
graph: fix crash on alias in prio tree
[fio.git]
/
engines
/
null.c
diff --git
a/engines/null.c
b/engines/null.c
index 85d6847e18388eee2822f7b7cf38b7d230b5ec27..f434550300e7a3d454c7561b808d1cfe24372f1c 100644
(file)
--- a/
engines/null.c
+++ b/
engines/null.c
@@
-46,6
+46,7
@@
static int fio_null_commit(struct thread_data *td)
struct null_data *nd = td->io_ops->data;
if (!nd->events) {
+ io_u_mark_submit(td, nd->queued);
nd->events = nd->queued;
nd->queued = 0;
}
@@
-82,7
+83,6
@@
static void fio_null_cleanup(struct thread_data *td)
if (nd->io_us)
free(nd->io_us);
free(nd);
- td->io_ops->data = NULL;
}
}