projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Close files on error
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 7698e84581c3399eb771d9ecf1f5df472d688311..318614cdb39b5213fc8d833a9f028b560f27eb84 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-88,7
+88,7
@@
static int get_next_offset(struct thread_data *td, struct fio_file *f,
long r;
if (!td->sequential) {
- unsigned long long max_blocks =
td->io
_size / td->min_bs[ddir];
+ unsigned long long max_blocks =
f->file
_size / td->min_bs[ddir];
int loops = 50;
do {