projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
solaris: #include <pthread.h>
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 5e4209d3533252a965b7be6016d33300e3106db7..81ee724b7357a36651d4d6001bcf31c23b3853e9 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-367,7
+367,7
@@
static int get_next_seq_offset(struct thread_data *td, struct fio_file *f,
*/
if (f->last_pos[ddir] >= f->io_size + get_start_offset(td, f) &&
o->time_based) {
- f->last_pos[ddir] =
0
;
+ f->last_pos[ddir] =
f->file_offset
;
loop_cache_invalidate(td, f);
}