Date: Mon, 14 Apr 1997 13:55:10 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: mtaylor@cybernet.com (Mark Taylor) Cc: hackers@freebsd.org, bugs@freebsd.org Subject: Re: vnode as filesystem (crash!) Message-ID: <199704142055.NAA19330@phaeton.artisoft.com> In-Reply-To: <XFMail.970413160017.mtaylor@cybernet.com> from "Mark Taylor" at Apr 13, 97 02:38:47 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> I've come up with a "fix": > 1) In the makefiles script, I cause a 'sync' every 100 files created, > and all is fine- all of the 7500 files get created. > 2) Instead of the /bin/sync in the script, I change kern.update from > the default 30 to 5. All 7500 files get made, no problem. > > So there seems to be a problem with the vm/fs cache? I'd hate to live > with a 5 second update time. Look at the NetBSD ffs_balloc.c and ffs_alloc.c. I believe FreeBSD is missing a number of calls to vnode_pager_setsize() that NetBSD has. There is also a FreeBSD ftruncate() case where if the indirect blocks are not zero, FreeBSD will we itself (NetBSD fixed this too). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704142055.NAA19330>