diff --git a/sys/geom/bde/g_bde_work.c b/sys/geom/bde/g_bde_work.c index 036f01efe82f..7893b574e0e6 100644 --- a/sys/geom/bde/g_bde_work.c +++ b/sys/geom/bde/g_bde_work.c @@ -560,7 +560,8 @@ g_bde_worker(void *arg) ("Illegal sector state (JUNK ?)")); } - if (wp->bp->bio_cmd == BIO_READ && wp->sp->state != VALID) + if (wp->bp->bio_cmd == BIO_READ && + wp->sp->state == IO) continue; if (wp->ksp != NULL && wp->ksp->error != 0) {