If we don't enable zbd, then provide an empty stub for the setup.
This fixes a build breakage on anything but Linux.
Fixes:
4d37720ae029 ("zbd: Add support for zoneskip option")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 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 */
#endif
#endif /* FIO_ZBD_H */