projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b153f94
)
iolog: default to good return
author
Jens Axboe
<axboe@kernel.dk>
Fri, 27 Apr 2018 04:45:04 +0000
(22:45 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 27 Apr 2018 04:45:04 +0000
(22:45 -0600)
We should only return failure if we attempted to load a log
and failed.
Fixes:
b153f94a22d8
("iolog/blktrace: boolean conversion")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
iolog.c
patch
|
blob
|
blame
|
history
diff --git
a/iolog.c
b/iolog.c
index 13040b686a58889c23275845ab666624c02780e1..6e44119ca28446cec7dee661f3afa89db71547e9 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-580,7
+580,7
@@
bool init_iolog(struct thread_data *td)
} else if (td->o.write_iolog_file)
ret = init_iolog_write(td);
else
- ret =
fals
e;
+ ret =
tru
e;
if (!ret)
td_verror(td, EINVAL, "failed initializing iolog");