projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove io_u->endpos
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index fc49bd325879f01d63c53efaaff25cc0e34e63e2..47c02e0ad135dea4da458da5e0116084dd7885d7 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-686,6
+686,7
@@
static struct fio_file *get_next_file_rr(struct thread_data *td, int goodf,
if (err) {
dprint(FD_FILE, "error %d on open of %s\n",
err, f->file_name);
+ f = NULL;
continue;
}
opened = 1;
@@
-847,7
+848,6
@@
struct io_u *get_io_u(struct thread_data *td)
/*
* Set io data pointers.
*/
- io_u->endpos = io_u->offset + io_u->buflen;
io_u->xfer_buf = io_u->buf;
io_u->xfer_buflen = io_u->buflen;