projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/run-fio-tests: a script to automate running fio tests
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 94899552c5b2daa1deeb956c18aa31e2c8a5068d..5cbbe85a4180f3d5f8cac1c7d4047fed7961d459 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-850,7
+850,8
@@
static void setup_strided_zone_mode(struct thread_data *td, struct io_u *io_u)
/*
* See if it's time to switch to a new zone
*/
/*
* See if it's time to switch to a new zone
*/
- if (td->zone_bytes >= td->o.zone_size && td->o.zone_skip) {
+ if (td->zone_bytes >= td->o.zone_size &&
+ fio_option_is_set(&td->o, zone_skip)) {
td->zone_bytes = 0;
f->file_offset += td->o.zone_range + td->o.zone_skip;
td->zone_bytes = 0;
f->file_offset += td->o.zone_range + td->o.zone_skip;