projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More iolog fixes
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 0487857e74851b3752d38747b5307fcbebbf4416..99f07288376f5cd7f668f169cdfb24f130091299 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-289,7
+289,7
@@
static int fill_io_u(struct thread_data *td, struct io_u *io_u)
/*
* If using an iolog, grab next piece if any available.
*/
/*
* If using an iolog, grab next piece if any available.
*/
- if (td->o.read_iolog)
+ if (td->o.read_iolog
_file
)
return read_iolog_get(td, io_u);
/*
return read_iolog_get(td, io_u);
/*
@@
-654,7
+654,7
@@
static void io_completed(struct thread_data *td, struct io_u *io_u,
add_bw_sample(td, idx, &icd->time);
io_u_mark_latency(td, msec);
add_bw_sample(td, idx, &icd->time);
io_u_mark_latency(td, msec);
- if (
(td_rw(td) || td_write(td)
) && idx == DDIR_WRITE &&
+ if (
td_write(td
) && idx == DDIR_WRITE &&
td->o.verify != VERIFY_NONE)
log_io_piece(td, io_u);
td->o.verify != VERIFY_NONE)
log_io_piece(td, io_u);