Minor message cleanup.
This commit is contained in:
parent
4fe3d5e537
commit
774b91783e
@ -370,7 +370,6 @@ boot(int howto)
|
|||||||
printf("giving up on %d buffers\n", nbusy);
|
printf("giving up on %d buffers\n", nbusy);
|
||||||
DELAY(5000000); /* 5 seconds */
|
DELAY(5000000); /* 5 seconds */
|
||||||
} else {
|
} else {
|
||||||
printf("done\n");
|
|
||||||
/*
|
/*
|
||||||
* Unmount filesystems
|
* Unmount filesystems
|
||||||
*/
|
*/
|
||||||
@ -597,14 +596,14 @@ kproc_shutdown(void *arg, int howto)
|
|||||||
|
|
||||||
p = (struct proc *)arg;
|
p = (struct proc *)arg;
|
||||||
strlcpy(procname, p->p_comm, sizeof(procname));
|
strlcpy(procname, p->p_comm, sizeof(procname));
|
||||||
printf("Waiting (max %d seconds) for system process `%s' to stop...\n",
|
printf("Waiting (max %d seconds) for system process `%s' to stop...",
|
||||||
kproc_shutdown_wait, procname);
|
kproc_shutdown_wait, procname);
|
||||||
error = kthread_suspend(p, kproc_shutdown_wait * hz);
|
error = kthread_suspend(p, kproc_shutdown_wait * hz);
|
||||||
|
|
||||||
if (error == EWOULDBLOCK)
|
if (error == EWOULDBLOCK)
|
||||||
printf("Stop of '%s' timed out.\n", procname);
|
printf("timed out\n");
|
||||||
else
|
else
|
||||||
printf("Process '%s' stopped.\n", procname);
|
printf("done\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Registration of dumpers */
|
/* Registration of dumpers */
|
||||||
|
@ -1563,7 +1563,6 @@ sched_sync(void)
|
|||||||
if (syncer_state == SYNCER_FINAL_DELAY &&
|
if (syncer_state == SYNCER_FINAL_DELAY &&
|
||||||
syncer_final_iter == 0) {
|
syncer_final_iter == 0) {
|
||||||
mtx_unlock(&sync_mtx);
|
mtx_unlock(&sync_mtx);
|
||||||
printf("done.\n");
|
|
||||||
kthread_suspend_check(td->td_proc);
|
kthread_suspend_check(td->td_proc);
|
||||||
mtx_lock(&sync_mtx);
|
mtx_lock(&sync_mtx);
|
||||||
}
|
}
|
||||||
@ -1571,7 +1570,7 @@ sched_sync(void)
|
|||||||
if (syncer_state != SYNCER_RUNNING &&
|
if (syncer_state != SYNCER_RUNNING &&
|
||||||
starttime != time_second) {
|
starttime != time_second) {
|
||||||
if (first_printf) {
|
if (first_printf) {
|
||||||
printf("Syncer syncing, vnodes remaining... ");
|
printf("\nSyncer syncing, vnodes remaining...");
|
||||||
first_printf = 0;
|
first_printf = 0;
|
||||||
}
|
}
|
||||||
printf("%d ", net_worklist_len);
|
printf("%d ", net_worklist_len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user