Subject: Re: Adding sysctl options to syncfs
To: Juan RP <juan@xtrarom.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 09/05/2005 15:14:53
On Mon, Sep 05, 2005 at 05:24:22PM +0200, Juan RP wrote:
>
> Hi, the following patch will add:
>
> ftp://ftp.NetBSD.org/pub/NetBSD/misc/xtraeme/syncfs_sysctl.diff
>
> [juan@Nocturno][~]> sysctl -a|grep syncfs
> kern.syncfs.syncdelay = 30
> kern.syncfs.filedelay = 30
> kern.syncfs.dirdelay = 15
> kern.syncfs.metadelay = 10
[...]
> FYI FreeBSD has implemented that too, but with different nodes:
>
> kern.{dir,file,meta}_delay.
I don't understand either of the naming conventions here. Doesn't
filesystem stuff go under the "vfs" node?
(No, I don't understand why, but it would be nice to be consistent,
at least)
Also, "syncfs" is not externally visible; it is just a (quite possibly
misnamed) directory with some code for the syncer in it. Why expose
it now?
Thor