projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bf4653
)
io_u: set io_u->verify_offset in fill_io_u()
author
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Aug 2020 03:40:59 +0000
(21:40 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Aug 2020 03:40:59 +0000
(21:40 -0600)
This is arguably saner than the previous fix, since it also catches
cases where io_u->offset is adjusted later on.
Hopefully that's it...
Fixes:
4fff54ccba73
("verify: use origina offset for verification")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index d54cf2fb84617b504a5370e33ba347df310f5549..dbb0a6f851b7bfa84d1f1d8188af63caf0b1b814 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-966,6
+966,7
@@
static int fill_io_u(struct thread_data *td, struct io_u *io_u)
out:
dprint_io_u(io_u, "fill");
+ io_u->verify_offset = io_u->offset;
td->zone_bytes += io_u->buflen;
return 0;
}