zbd: Fix job zone size initialization
[fio.git] / zbd.h
diff --git a/zbd.h b/zbd.h
index 521283b200d0f6ceb24b699a901493e3381d55e9..e0a7e447521d1bb3b71a9803241bca3c093871a2 100644 (file)
--- a/zbd.h
+++ b/zbd.h
@@ -94,6 +94,7 @@ void zbd_free_zone_info(struct fio_file *f);
 int zbd_init(struct thread_data *td);
 void zbd_file_reset(struct thread_data *td, struct fio_file *f);
 bool zbd_unaligned_write(int error_code);
+void setup_zbd_zone_mode(struct thread_data *td, struct io_u *io_u);
 enum io_u_action zbd_adjust_block(struct thread_data *td, struct io_u *io_u);
 char *zbd_write_status(const struct thread_stat *ts);
 
@@ -147,6 +148,12 @@ static inline char *zbd_write_status(const struct thread_stat *ts)
 static inline void zbd_queue_io_u(struct io_u *io_u,
                                  enum fio_q_status status) {}
 static inline void zbd_put_io_u(struct io_u *io_u) {}
+
+static inline void setup_zbd_zone_mode(struct thread_data *td,
+                                       struct io_u *io_u)
+{
+}
+
 #endif
 
 #endif /* FIO_ZBD_H */