path: root/thread_options.h
diff options
authorJens Axboe <>2017-11-29 19:25:59 -0700
committerJens Axboe <>2017-11-29 19:25:59 -0700
commit59466396a8f7d37ca7884aaacf591cb9a894a336 (patch)
tree60575e2578fce39fe8773af59e19971696fcdbfa /thread_options.h
parentf27300d51e3291c2588b3534c7236b2a102351ff (diff)
Add support for absolute random zones
We currently support random_distribution=zoned, which allows the user to specify a percentage of access to a zoned define as a percentage of the file/device size. This commit adds support for zoned_abs, which works exactly like zoned, except you give the zone size in an absolute value. Signed-off-by: Jens Axboe <>
Diffstat (limited to 'thread_options.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_options.h b/thread_options.h
index ca549b5..050cd38 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -36,6 +36,8 @@ struct bssplit {
struct zone_split {
uint8_t access_perc;
uint8_t size_perc;
+ uint8_t pad[6];
+ uint64_t size;
#define NR_OPTS_SZ (FIO_MAX_OPTS / (8 * sizeof(uint64_t)))