FreeBSD Bugzilla – Attachment 11016 Details for
Bug 21859
[vfs] [patch] Allow the syncer to be slowed down
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.35 KB, created by
Tony Finch
on 2000-10-09 13:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tony Finch
Created:
2000-10-09 13:20:01 UTC
Size:
1.35 KB
patch
obsolete
>Index: conf/options >=================================================================== >RCS file: /home/ncvs/src/sys/conf/options,v >retrieving revision 1.191.2.16 >diff -u -r1.191.2.16 options >--- conf/options 2000/09/30 02:49:29 1.191.2.16 >+++ conf/options 2000/10/08 04:18:27 >@@ -89,6 +89,7 @@ > UCONSOLE > ICMP_BANDLIM > VFS_AIO >+SYNCER_MAXDELAY opt_syncdelay.h > > # POSIX kernel options > P1003_1B opt_posix.h >Index: kern/vfs_subr.c >=================================================================== >RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v >retrieving revision 1.249.2.5 >diff -u -r1.249.2.5 vfs_subr.c >--- kern/vfs_subr.c 2000/08/03 00:09:33 1.249.2.5 >+++ kern/vfs_subr.c 2000/08/08 07:22:04 >@@ -43,6 +43,7 @@ > * External virtual filesystem routines > */ > #include "opt_ddb.h" >+#include "opt_syncdelay.h" > > #include <sys/param.h> > #include <sys/systm.h> >@@ -133,9 +134,12 @@ > /* > * The workitem queue. > */ >+#ifndef SYNCER_MAXDELAY > #define SYNCER_MAXDELAY 32 >+#endif > static int syncer_maxdelay = SYNCER_MAXDELAY; /* maximum delay time */ > time_t syncdelay = 30; /* max time to delay syncing data */ >+SYSCTL_INT(_kern, OID_AUTO, syncdelay, CTLFLAG_RW, &syncdelay, 0, ""); > time_t filedelay = 30; /* time to delay syncing files */ > SYSCTL_INT(_kern, OID_AUTO, filedelay, CTLFLAG_RW, &filedelay, 0, ""); > time_t dirdelay = 29; /* time to delay syncing directories */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21859
: 11016