Date: Fri, 14 Aug 1998 14:24:47 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: "Alton, Matthew" <Matthew.Alton@anheuser-busch.com> Cc: "'FreeBSD-fs@FreeBSD.ORG'" <FreeBSD-fs@FreeBSD.ORG> Subject: Re: LFS Hacking Message-ID: <Pine.SV4.3.95.980814140735.9970A-100000@parkplace.cet.co.jp> In-Reply-To: <31B3F0BF1C40D11192A700805FD48BF901776634@STLABCEXG011>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Aug 1998, Alton, Matthew wrote: > What function call is used in the kernel to syncronously write data to a disk? > I mean really actually write it and change the polarity in the little > magnetic domains and everything such that I may assume that the > data is ON THE DISK when the call returns success. Have a look at bwrite() and compare it to bawrite() and bdwrite(). > How should I impliment "callback" in the kernel buffer cache flushing > mechanism so that the vm dosn't interfere with my write scheduling? I > need to know how to properly register a filesystem with the kernel at > boot time and how to register vm operations including > union-of-set-preserving NOOPs and how to "intercept" vm-issued fsyncs > and whatever else. Sorry I've only spent time on VOP glue, but concerning registering an fs poke around in kern. A grep for mount.h should narrow it down. Regards, Mike Hancock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980814140735.9970A-100000>