summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-08-10 01:32:05 +0000
committernjl <njl@FreeBSD.org>2004-08-10 01:32:05 +0000
commit7e21ce666c82537fdaf6354b41e681ecfd85640c (patch)
tree4efd9d50d1f8e26705c3a156cafb1d73783ff2a3 /sys/kern/vfs_subr.c
parent726a7fca00cb86d9a23466b7bc446be882f51b06 (diff)
downloadFreeBSD-src-7e21ce666c82537fdaf6354b41e681ecfd85640c.zip
FreeBSD-src-7e21ce666c82537fdaf6354b41e681ecfd85640c.tar.gz
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)
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud