projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Make ->buflen == 0 on SYNC io_u's
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 738f3e20101eee5e3535f1ff52fd344286c45745..45e8bb81ccc6e4dcfd7bbab57c781824c2d63161 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-229,6
+229,7
@@
struct io_u *__get_io_u(struct thread_data *td)
if (!queue_full(td)) {
io_u = list_entry(td->io_u_freelist.next, struct io_u, list);
+ io_u->buflen = 0;
io_u->error = 0;
io_u->resid = 0;
list_del(&io_u->list);