From 7e21ce666c82537fdaf6354b41e681ecfd85640c Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 10 Aug 2004 01:32:05 +0000 Subject: Skip the syncing disks loop if there are no dirty buffers. Remove a variable used to flag the initial printf. Submitted by: truckman (earlier version) --- sys/kern/vfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_subr.c') diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 52f564f..72d41c9 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1578,7 +1578,7 @@ sched_sync(void) if (syncer_state != SYNCER_RUNNING && starttime != time_second) { if (first_printf) { - printf("\nSyncer syncing, vnodes remaining..."); + printf("\nSyncing disks, vnodes remaining..."); first_printf = 0; } printf("%d ", net_worklist_len); -- cgit v1.1