HOWTO: Add missing documentation for job_max_open_zones
[fio.git] / zbd.h
diff --git a/zbd.h b/zbd.h
index cc3ab6241e9b35782c0580d8b397edf1f2bba9b4..39dc45e3882a94edf7b085d69de7a1ea70c6a4c5 100644 (file)
--- a/zbd.h
+++ b/zbd.h
@@ -50,7 +50,8 @@ struct fio_zone_info {
  * zoned_block_device_info - zoned block device characteristics
  * @model: Device model.
  * @max_open_zones: global limit on the number of simultaneously opened
- *     sequential write zones.
+ *     sequential write zones. A zero value means unlimited open zones,
+ *     and that open zones will not be tracked in the open_zones array.
  * @mutex: Protects the modifiable members in this structure (refcount and
  *             num_open_zones).
  * @zone_size: size of a single zone in bytes.
@@ -87,6 +88,8 @@ struct zoned_block_device_info {
        struct fio_zone_info    zone_info[0];
 };
 
+int zbd_init_files(struct thread_data *td);
+void zbd_recalc_options_with_zone_granularity(struct thread_data *td);
 int zbd_setup_files(struct thread_data *td);
 void zbd_free_zone_info(struct fio_file *f);
 void zbd_file_reset(struct thread_data *td, struct fio_file *f);