projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid divide-by-zero for disk util on 0 msec runtime
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 428b312c9b34fea3cd1db6d38b375fd1a14376e6..54f8685bc5c510608e3a6e5e7a7ef09f766ccebf 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1147,6
+1147,7
@@
static void small_content_scramble(struct io_u *io_u)
p = io_u->xfer_buf;
boffset = io_u->offset;
+ io_u->buf_filled_len = 0;
for (i = 0; i < nr_blocks; i++) {
/*