Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102845253
D47647.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D47647.diff
View Options
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -323,9 +323,10 @@
static void vdbatch_dequeue(struct vnode *vp);
/*
- * When shutting down the syncer, run it at four times normal speed.
+ * The syncer will require at least SYNCER_MAXDELAY iterations to shutdown;
+ * we probably don't want to pause for the whole second each time.
*/
-#define SYNCER_SHUTDOWN_SPEEDUP 4
+#define SYNCER_SHUTDOWN_SPEEDUP 32
static int sync_vnode_count;
static int syncer_worklist_len;
static enum { SYNCER_RUNNING, SYNCER_SHUTTING_DOWN, SYNCER_FINAL_DELAY }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 10:19 PM (21 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14701127
Default Alt Text
D47647.diff (613 B)
Attached To
Mode
D47647: Speed up syncer shutdown
Attached
Detach File
Event Timeline
Log In to Comment