zbd: engines/libzbc: don't fail on assert for offline zones
[fio.git] / oslib / linux-blkzoned.c
index 0a8a577a59e9d0f8488d34454af15f2c220ea034..f37c67fc86953cadab7eaab2c539c79dbf81027d 100644 (file)
@@ -203,7 +203,7 @@ int blkzoned_report_zones(struct thread_data *td, struct fio_file *f,
                default:
                        /* Treat all these conditions as offline (don't use!) */
                        z->cond = ZBD_ZONE_COND_OFFLINE;
-                       break;
+                       z->wp = z->start;
                }
        }