From: Niklas Cassel <niklas.cassel@xxxxxxx> zoned block device support in fio cannot handle pipes, so simply reject them and give a clear error message. Signed-off-by: Niklas Cassel <niklas.cassel@xxxxxxx> Reviewed-by: Damien Le Moal <damien.lemoal@xxxxxxx> --- zbd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zbd.c b/zbd.c index 5d9e331a..60325d28 100644 --- a/zbd.c +++ b/zbd.c @@ -32,6 +32,11 @@ int zbd_get_zoned_model(struct thread_data *td, struct fio_file *f, { int ret; + if (f->filetype == FIO_TYPE_PIPE) { + log_err("zonemode=zbd does not support pipes\n"); + return -EINVAL; + } + if (td->io_ops && td->io_ops->get_zoned_model) ret = td->io_ops->get_zoned_model(td, f, model); else -- 2.25.1