projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IO verification needs to open and grab a reference to a file
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index c824d7ecce4ef8246c9304c5f4a7ef77fa458a0d..6290ebbc6ffda5757ac686859cffb4d17ea18e7f 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-593,6
+593,8
@@
set_file:
}
} while (1);
+ assert(io_u->file->flags & FIO_FILE_OPEN);
+
if (td->zone_bytes >= td->o.zone_size) {
td->zone_bytes = 0;
f->last_pos += td->o.zone_skip;