diff --git a/examples/nvme/fio_plugin/fio_plugin.c b/examples/nvme/fio_plugin/fio_plugin.c index c169e6e72..3a2dd24a9 100644 --- a/examples/nvme/fio_plugin/fio_plugin.c +++ b/examples/nvme/fio_plugin/fio_plugin.c @@ -1153,13 +1153,11 @@ spdk_fio_get_zoned_model(struct thread_data *td, struct fio_file *f, enum zbd_zo struct spdk_fio_qpair *fio_qpair = NULL; const struct spdk_nvme_zns_ns_data *zns_data = NULL; - *model = ZBD_IGNORE; - if (f->filetype != FIO_TYPE_FILE && \ f->filetype != FIO_TYPE_BLOCK && \ f->filetype != FIO_TYPE_CHAR) { - log_info("spdk/nvme: ignoring filetype: %d\n", f->filetype); - return 0; + log_info("spdk/nvme: unsupported filetype: %d\n", f->filetype); + return -EINVAL; } fio_qpair = get_fio_qpair(fio_thread, f);