From: Jens Axboe Date: Thu, 29 Aug 2019 12:38:08 +0000 (-0600) Subject: zbd: provide empty setup_zbd_zone_mode() X-Git-Tag: fio-3.16~14 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c012becd449b5bcb8a885a3938e7e38737d9aafe zbd: provide empty setup_zbd_zone_mode() 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 --- diff --git a/zbd.h b/zbd.h index a66f40af..e0a7e447 100644 --- a/zbd.h +++ b/zbd.h @@ -148,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 */