summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-07-03 03:45:17 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-07-03 03:45:17 +0000
commite2df4549a1a3317e395a8eb72d4bdf909b51822f (patch)
tree53c674d8374d5642318f34ad544bb28aba80074f /sys
parent6e0748c7e4bffea8c939f38487c89e2982812917 (diff)
no need for syncdelay to be a time_t, make it it an int. unstatic variables
so I can twiddle them from ddb (not that I will mess with the hashmask, but static burns). ok tedu@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_sync.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c
index d252403c1b5..fe8b76f987e 100644
--- a/sys/kern/vfs_sync.c
+++ b/sys/kern/vfs_sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_sync.c,v 1.45 2009/08/13 15:00:14 jasper Exp $ */
+/* $OpenBSD: vfs_sync.c,v 1.46 2010/07/03 03:45:16 thib Exp $ */
/*
* Portions of this code are:
@@ -62,13 +62,13 @@ int softdep_process_worklist(struct mount *);
#define SYNCER_MAXDELAY 32 /* maximum sync delay time */
#define SYNCER_DEFAULT 30 /* default sync delay time */
int syncer_maxdelay = SYNCER_MAXDELAY; /* maximum delay time */
-time_t syncdelay = SYNCER_DEFAULT; /* time to delay syncing vnodes */
+int syncdelay = SYNCER_DEFAULT; /* time to delay syncing vnodes */
int rushjob = 0; /* number of slots to run ASAP */
int stat_rush_requests = 0; /* number of rush requests */
-static int syncer_delayno = 0;
-static long syncer_mask;
+int syncer_delayno = 0;
+long syncer_mask;
LIST_HEAD(synclist, vnode);
static struct synclist *syncer_workitem_pending;