zbd: engines/libzbc: don't fail on assert for offline zones
[fio.git] / engines / libzbc.c
index 4b9002330dcfd66d106087d1dc9275c6402fe1d3..552aab65242e634bf63ae05a0b8f957fc5dcc2d3 100644 (file)
@@ -283,7 +283,7 @@ static int libzbc_report_zones(struct thread_data *td, struct fio_file *f,
                default:
                        /* Treat all these conditions as offline (don't use!) */
                        zbdz->cond = ZBD_ZONE_COND_OFFLINE;
-                       break;
+                       zbdz->wp = zbdz->start;
                }
        }