summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-08-24 11:31:29 -0700
committerJens Axboe <axboe@kernel.dk>2018-08-24 12:54:40 -0600
commit59b0754458f601779fac99f4f9dc95d54e1ab976 (patch)
treeb881287251941e88bc89bc7beaa7387ee08e3ed1 /thread_options.h
parentfd5d733fa34cb1c2675bce6af7972f6fc12e60d0 (diff)
Make it possible to limit the number of open zones
When running a random I/O test across an entire drive many more zones will be open than in a typical application workload. Hence add a command line option that allows to limit the number of open zones. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_options.h b/thread_options.h
index 3206311..597c422 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -337,6 +337,7 @@ struct thread_options {
/* Parameters that affect zonemode=zbd */
unsigned int read_beyond_wp;
+ int max_open_zones;
};
#define FIO_TOP_STR_MAX 256