engines/io_uring: add new I/O engine for uring passthrough support
[fio.git] / oslib / blkzoned.h
index 4cc071dc6a61be64a257cd749e40cbd536cb9247..719b041d126adc03af9e30b9d2c9815b804a4518 100644 (file)
@@ -16,6 +16,8 @@ extern int blkzoned_report_zones(struct thread_data *td,
                                struct zbd_zone *zones, unsigned int nr_zones);
 extern int blkzoned_reset_wp(struct thread_data *td, struct fio_file *f,
                                uint64_t offset, uint64_t length);
+extern int blkzoned_get_max_open_zones(struct thread_data *td, struct fio_file *f,
+                                      unsigned int *max_open_zones);
 #else
 /*
  * Define stubs for systems that do not have zoned block device support.
@@ -44,6 +46,11 @@ static inline int blkzoned_reset_wp(struct thread_data *td, struct fio_file *f,
 {
        return -EIO;
 }
+static inline int blkzoned_get_max_open_zones(struct thread_data *td, struct fio_file *f,
+                                             unsigned int *max_open_zones)
+{
+       return -EIO;
+}
 #endif
 
 #endif /* FIO_BLKZONED_H */