projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add simple fio.service to start fio server with systemd
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index 2f290d2d7d1358429c1a66440f79de648bfd88c9..c3ad8312de67f13d48e5e67ee9ae117945ba9a22 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-652,7
+652,7
@@
static void do_verify(struct thread_data *td, uint64_t verify_bytes)
break;
while ((io_u = get_io_u(td)) != NULL) {
- if (IS_ERR(io_u)) {
+ if (IS_ERR
_OR_NULL
(io_u)) {
io_u = NULL;
ret = FIO_Q_BUSY;
goto reap;
@@
-1399,7
+1399,7
@@
static uint64_t do_dry_run(struct thread_data *td)
break;
io_u = get_io_u(td);
- if (
!io_u
)
+ if (
IS_ERR_OR_NULL(io_u)
)
break;
io_u_set(io_u, IO_U_F_FLIGHT);