projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add example job file for the RBD engine
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 5f39987ab4e9e781ad9ae8acd7d9ae98bfca680c..b84b3e2307daa67f6723b1556cd9731c67ad5f36 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1523,8
+1523,8
@@
void io_u_log_error(struct thread_data *td, struct io_u *io_u)
static inline int gtod_reduce(struct thread_data *td)
{
static inline int gtod_reduce(struct thread_data *td)
{
- return
!td->o.disable_clat || !td->o.disable_lat ||
-
!td->o.disable_slat || !
td->o.disable_bw;
+ return
td->o.disable_clat && td->o.disable_lat && td->o.disable_slat
+
&&
td->o.disable_bw;
}
static void account_io_completion(struct thread_data *td, struct io_u *io_u,
}
static void account_io_completion(struct thread_data *td, struct io_u *io_u,