projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buffer: only set refill_buffers, it it wasn't set manually
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 515f3141d9ce08b7440ecce7b5ea7e5bfd89f87a..5edd53e06cca9e03b063fc5aea5f94e9e65575ad 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-662,7
+662,9
@@
static int fixup_options(struct thread_data *td)
ret = warnings_fatal;
}
ret = warnings_fatal;
}
- o->refill_buffers = 1;
+ if (!fio_option_is_set(o, refill_buffers))
+ o->refill_buffers = 1;
+
if (o->max_bs[DDIR_WRITE] != o->min_bs[DDIR_WRITE] &&
!o->verify_interval)
o->verify_interval = o->min_bs[DDIR_WRITE];
if (o->max_bs[DDIR_WRITE] != o->min_bs[DDIR_WRITE] &&
!o->verify_interval)
o->verify_interval = o->min_bs[DDIR_WRITE];