diff options
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_dev.c | 2 | ||||
-rw-r--r-- | sys/geom/geom_io.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 7b15559..c87dcdc 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -416,7 +416,7 @@ g_dev_orphan(struct g_consumer *cp) /* Wait for the cows to come home */ while (cp->nstart != cp->nend) - msleep(&dev, NULL, PRIBIO, "gdevorphan", hz / 10); + tsleep(&dev, PRIBIO, "gdevorphan", hz / 10); if (cp->acr > 0 || cp->acw > 0 || cp->ace > 0) g_access(cp, -cp->acr, -cp->acw, -cp->ace); diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index e8e00ed..a074534 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -492,7 +492,7 @@ g_io_schedule_down(struct thread *tp __unused) g_bioq_unlock(&g_bio_run_down); if (pace > 0) { CTR1(KTR_GEOM, "g_down pacing self (pace %d)", pace); - msleep(&error, NULL, PRIBIO, "g_down", hz/10); + tsleep(&error, PRIBIO, "g_down", hz/10); pace--; } error = g_io_check(bp); |