Sleep on "-" in our normal state to simplify debugging.
This commit is contained in:
parent
aceb878fef
commit
57f7d6f488
@ -310,7 +310,7 @@ g_io_schedule_down(struct thread *tp __unused)
|
||||
bp = g_bioq_first(&g_bio_run_down);
|
||||
if (bp == NULL) {
|
||||
msleep(&g_wait_down, &g_bio_run_down.bio_queue_lock,
|
||||
PRIBIO | PDROP, "g_down", hz/10);
|
||||
PRIBIO | PDROP, "-", hz/10);
|
||||
continue;
|
||||
}
|
||||
g_bioq_unlock(&g_bio_run_down);
|
||||
@ -367,7 +367,7 @@ g_io_schedule_up(struct thread *tp __unused)
|
||||
continue;
|
||||
}
|
||||
msleep(&g_wait_up, &g_bio_run_up.bio_queue_lock,
|
||||
PRIBIO | PDROP, "g_up", hz/10);
|
||||
PRIBIO | PDROP, "-", hz/10);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ g_event_procbody(void)
|
||||
tp->td_base_pri = PRIBIO;
|
||||
for(;;) {
|
||||
g_run_events();
|
||||
tsleep(&g_wait_event, PRIBIO, "g_events", hz/10);
|
||||
tsleep(&g_wait_event, PRIBIO, "-", hz/10);
|
||||
}
|
||||
}
|
||||
|
||||
@ -152,6 +152,8 @@ geom_shutdown(void *foo __unused)
|
||||
void
|
||||
g_init(void)
|
||||
{
|
||||
|
||||
g_trace(G_T_TOPOLOGY, "g_ignition");
|
||||
sx_init(&topology_lock, "GEOM topology");
|
||||
g_io_init();
|
||||
g_event_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user