From owner-freebsd-fs Thu Jul 25 08:29:35 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA05586 for fs-outgoing; Thu, 25 Jul 1996 08:29:35 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA05477; Thu, 25 Jul 1996 08:28:19 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.7.5/CET-v2.1) with SMTP id PAA01422; Thu, 25 Jul 1996 15:24:03 GMT Date: Fri, 26 Jul 1996 00:24:03 +0900 (JST) From: Michael Hancock To: freebsd-fs@FreeBSD.ORG cc: freebsd-hackers@FreeBSD.ORG Subject: Union mounts and other mounts In-Reply-To: <199606251931.MAA00496@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Terry, are you out there? Please upload your mega patches. I'm sure someone will take a look and maybe we can at least start with getting the locks fixed. Or do we just have to dream about the possibilities? I want to mount my home source directory on top of a FreeBSD CD and compile as if the CD were writable. I want to start working on a non-itar restricted crypto-fs layer. I want to see a gzip layer. I want to see a mirroring layer mounted on top of a FFS and a EXT2 filesystem. . . . Mike Hancock On Tue, 25 Jun 1996, Terry Lambert wrote: > This is the intrinsic "union" option. > > It does not work. > > It does not work because VOP_ADVLOCK does not veto. > > It does not work because VOP_LOCK can not be stacked because it is > stupidly referencing flags specific to the underlying vnode for lock > resoloution instead of the union vnode. > > It does not work because VOP_LOOKUP, VOP_RENAME, etc. can not > be stacked because they actually deallocate path structures that > were allocated by code in vfs_syscalls.c, instead of the buffers > being deallocated in vfs_syscalls.c as well, as you would expect > in a proper idempotent layering implementation. > > VOP_LOCK stupidly references these flags because vclean needs them. > > vclean is an abomination before God, and is a half-kludge to deal > with not having both vnode/offset and dev/offset based cache > references simultaneously. > > Use of vnode/offset cache entries is a result of the unified cache > implementation. It saves a bmap call when moving data to/from > user space. It's why FreeBSD has faster I/O than most other systems. > > The lack of a parallel dev/offset based caching allows us to be lazy, > and enlarges the bit limit on FS storage, though it does not help > the inherent limit on file size (due to mapping). > > The lack of a parallel dev/offset results in the need for > implementation of a "second chance cache" via ihash. Still, we > will discard perfectly good pages from cache as a side effect of > having no way to reassociate them with a vnode. > > The use of a global vnode pool instead of per FS mount instance vnode > allocations damages cache locality. Combined with vclean, it also > damages cache coherency. > > > To repair: > > 1) Fix the stackability issues with the VFS interface itself, > which will incidently cause the VFS to more closely conform > to the Heidemann Thesis design on which it is based. Currently > it only implements a subset of the specified functionality. > > 2) Migrate the vnode locking to the vnode instead of the per FS > inode; get rid of the second chance cache at the same time > (the Lite2 code does some of this). The pointer should have > been in the vnode, not the inode, from the very beginning. > > 3) Move the directory name cache out of the per FS code and > into the lookup code. > > 4) Move the vnodes from the global pool; establish a per-FS > vnode free routine. > > 5) Establish VOP_GETPAGE/VOP_PUTPAGE, etc... > > 6) Union mounts will then work without kludges in lookup, locking, > and other code. They *could* be made to work with great, gross > kludges and changes to at least 3 FS's (that I know of), but > that's a kludge I won't do. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. > From owner-freebsd-fs Thu Jul 25 09:01:08 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA07583 for fs-outgoing; Thu, 25 Jul 1996 09:01:08 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA07558; Thu, 25 Jul 1996 09:01:00 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id KAA00163; Thu, 25 Jul 1996 10:59:19 -0500 (EST) From: "John S. Dyson" Message-Id: <199607251559.KAA00163@dyson.iquest.net> Subject: Re: Union mounts and other mounts To: michaelh@cet.co.jp (Michael Hancock) Date: Thu, 25 Jul 1996 10:59:19 -0500 (EST) Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Michael Hancock" at Jul 26, 96 00:24:03 am X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Terry, are you out there? > > Please upload your mega patches. I'm sure someone will take a look and > maybe we can at least start with getting the locks fixed. > I want to consider including Terry's stuff. Even though I do filesystem hacking from time to time, I think that we need to get agreement from other's (on the team) on the changes. The changes have significant architectural implications. At least, in certain areas, Terry is on the right track... We need to get consensus on the changes. The last batch of changes don't fix all of the problems, and Jeffery Hsu's stuff should be reviewed and appropriately included also. I actually think that we are stagnating in this area a "little bit." But again, I don't feel qualified to make wholesale changes in that (the VFS) section of the kernel, without agreement from others... Anybody have any ideas on this impasse? John From owner-freebsd-fs Thu Jul 25 09:47:19 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA10463 for fs-outgoing; Thu, 25 Jul 1996 09:47:19 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA10432; Thu, 25 Jul 1996 09:47:09 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id SAA01030; Thu, 25 Jul 1996 18:47:12 +0200 (MET DST) To: "John S. Dyson" cc: michaelh@cet.co.jp (Michael Hancock), freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-reply-to: Your message of "Thu, 25 Jul 1996 10:59:19 CDT." <199607251559.KAA00163@dyson.iquest.net> Date: Thu, 25 Jul 1996 18:47:11 +0200 Message-ID: <1028.838313231@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199607251559.KAA00163@dyson.iquest.net>, "John S. Dyson" writes: >> Terry, are you out there? >> >> Please upload your mega patches. I'm sure someone will take a look and >> maybe we can at least start with getting the locks fixed. >> >I want to consider including Terry's stuff. Even though I do filesystem >hacking from time to time, I think that we need to get agreement from >other's (on the team) on the changes. The changes have significant >architectural implications. > >At least, in certain areas, Terry is on the right track... We need to >get consensus on the changes. The last batch of changes don't fix all >of the problems, and Jeffery Hsu's stuff should be reviewed and appropriately >included also. I actually think that we are stagnating in this area a "little >bit." But again, I don't feel qualified to make wholesale changes in that >(the VFS) section of the kernel, without agreement from others... Anybody >have any ideas on this impasse? I agree. Jeff's changes have higher priority for me than Terrys, because they bring us closer to the codebase Kirk is hacking away on, and he has some nice things brewing too. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-fs Thu Jul 25 11:41:11 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA20350 for fs-outgoing; Thu, 25 Jul 1996 11:41:11 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA20329; Thu, 25 Jul 1996 11:41:04 -0700 (PDT) Received: from localhost (dfr@localhost) by minnow.render.com (8.6.12/8.6.9) with SMTP id TAA26253; Thu, 25 Jul 1996 19:42:11 +0100 Date: Thu, 25 Jul 1996 19:42:10 +0100 (BST) From: Doug Rabson To: Poul-Henning Kamp cc: "John S. Dyson" , Michael Hancock , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-Reply-To: <1028.838313231@critter.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 25 Jul 1996, Poul-Henning Kamp wrote: > In message <199607251559.KAA00163@dyson.iquest.net>, "John S. Dyson" writes: > >> Terry, are you out there? > >> > >> Please upload your mega patches. I'm sure someone will take a look and > >> maybe we can at least start with getting the locks fixed. > >> > >I want to consider including Terry's stuff. Even though I do filesystem > >hacking from time to time, I think that we need to get agreement from > >other's (on the team) on the changes. The changes have significant > >architectural implications. > > > >At least, in certain areas, Terry is on the right track... We need to > >get consensus on the changes. The last batch of changes don't fix all > >of the problems, and Jeffery Hsu's stuff should be reviewed and appropriately > >included also. I actually think that we are stagnating in this area a "little > >bit." But again, I don't feel qualified to make wholesale changes in that > >(the VFS) section of the kernel, without agreement from others... Anybody > >have any ideas on this impasse? > > I agree. > > Jeff's changes have higher priority for me than Terrys, because they > bring us closer to the codebase Kirk is hacking away on, and he has > some nice things brewing too. Is Kirk going to attack some of the same issues as Terry is talking about? To improve my own understanding of the interface, I just started writing manpages for the VFS entry points and VOP_LOOKUP makes me feel ill :-). Does anyone else have any documentation on our VFS interface? Does anyone feel like reviewing my efforts? -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939 From owner-freebsd-fs Thu Jul 25 11:52:56 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA20937 for fs-outgoing; Thu, 25 Jul 1996 11:52:56 -0700 (PDT) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA20928; Thu, 25 Jul 1996 11:52:54 -0700 (PDT) Message-Id: <199607251852.LAA20928@freefall.freebsd.org> To: Doug Rabson cc: Poul-Henning Kamp , "John S. Dyson" , Michael Hancock , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-reply-to: Your message of "Thu, 25 Jul 1996 19:42:10 BST." Date: Thu, 25 Jul 1996 11:52:54 -0700 From: "Justin T. Gibbs" Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Is Kirk going to attack some of the same issues as Terry is talking about? >To improve my own understanding of the interface, I just started writing >manpages for the VFS entry points and VOP_LOOKUP makes me feel ill :-). Last I heard, Kirk was incorperating the recent work on soft metadata updates into the 4.4Lite2 code base. >-- >Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com > Phone: +44 171 251 4411 > FAX: +44 171 251 0939 > -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== From owner-freebsd-fs Thu Jul 25 12:33:49 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA24942 for fs-outgoing; Thu, 25 Jul 1996 12:33:49 -0700 (PDT) Received: (from hsu@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA24935; Thu, 25 Jul 1996 12:33:48 -0700 (PDT) Date: Thu, 25 Jul 1996 12:33:48 -0700 (PDT) From: Jeffrey Hsu Message-Id: <199607251933.MAA24935@freefall.freebsd.org> To: freebsd-fs, freebsd-hackers Subject: Re: Union mounts and other mounts Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I actually think that we are stagnating in this area a "little > bit." Anybody have any ideas on this impasse? Due to the large nature of the Lite2 fs work, I think we should start a Lite2 tree and mailing list like the SMP tree so other people can get involved. The work that's left is for other people to look at the patch and to do a cvs update -jbsd_44_lite -jbsd_44_lite2 in the nfs directory to bring that one last filesystem up to Lite2 conventions. So far, Terry has sent me detailed comments on the Lite2 patch and both Terry and John have booted a Lite2 kernel. From owner-freebsd-fs Thu Jul 25 12:35:23 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA25177 for fs-outgoing; Thu, 25 Jul 1996 12:35:23 -0700 (PDT) Received: (from hsu@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA25169; Thu, 25 Jul 1996 12:35:22 -0700 (PDT) Date: Thu, 25 Jul 1996 12:35:22 -0700 (PDT) From: Jeffrey Hsu Message-Id: <199607251935.MAA25169@freefall.freebsd.org> To: dfr@render.com, freebsd-fs, freebsd-hackers Subject: Re: Union mounts and other mounts Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Does anyone feel like reviewing my efforts? Sure, I'll take a look at them. Say, how would you like to do some Lite2 NFS work? From owner-freebsd-fs Thu Jul 25 15:06:17 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA04635 for fs-outgoing; Thu, 25 Jul 1996 15:06:17 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA04610; Thu, 25 Jul 1996 15:06:08 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id AAA01352; Fri, 26 Jul 1996 00:06:14 +0200 (MET DST) To: Doug Rabson cc: "John S. Dyson" , Michael Hancock , freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Union mounts and other mounts In-reply-to: Your message of "Thu, 25 Jul 1996 19:42:10 BST." Date: Fri, 26 Jul 1996 00:06:14 +0200 Message-ID: <1350.838332374@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> I agree. >> >> Jeff's changes have higher priority for me than Terrys, because they >> bring us closer to the codebase Kirk is hacking away on, and he has >> some nice things brewing too. > >Is Kirk going to attack some of the same issues as Terry is talking about? >To improve my own understanding of the interface, I just started writing >manpages for the VFS entry points and VOP_LOOKUP makes me feel ill :-). Some of the stuff is the same as what Terry wants to change, except that maybe kirks changes will be isolated so that we can see what he changed. > >Does anyone else have any documentation on our VFS interface? Does anyone >feel like reviewing my efforts? no. yes. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-freebsd-fs Thu Jul 25 15:18:29 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05376 for fs-outgoing; Thu, 25 Jul 1996 15:18:29 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA05356; Thu, 25 Jul 1996 15:18:23 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id RAA00784; Thu, 25 Jul 1996 17:18:04 -0500 (EST) From: John Dyson Message-Id: <199607252218.RAA00784@dyson.iquest.net> Subject: Re: Union mounts and other mounts To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Thu, 25 Jul 1996 17:18:04 -0500 (EST) Cc: dfr@render.com, michaelh@cet.co.jp, freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <1350.838332374@critter.tfs.com> from "Poul-Henning Kamp" at Jul 26, 96 00:06:14 am X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >Does anyone else have any documentation on our VFS interface? Does anyone > >feel like reviewing my efforts? > no. yes. > Me too!!! :-). John From owner-freebsd-fs Thu Jul 25 17:46:59 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA15520 for fs-outgoing; Thu, 25 Jul 1996 17:46:59 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA15496; Thu, 25 Jul 1996 17:46:53 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.7.5/CET-v2.1) with SMTP id AAA04661; Fri, 26 Jul 1996 00:45:44 GMT Date: Fri, 26 Jul 1996 09:45:44 +0900 (JST) From: Michael Hancock To: "Justin T. Gibbs" cc: Doug Rabson , Poul-Henning Kamp , "John S. Dyson" , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-Reply-To: <199607251852.LAA20928@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 25 Jul 1996, Justin T. Gibbs wrote: > >Is Kirk going to attack some of the same issues as Terry is talking about? > >To improve my own understanding of the interface, I just started writing > >manpages for the VFS entry points and VOP_LOOKUP makes me feel ill :-). > > Last I heard, Kirk was incorperating the recent work on soft metadata > updates into the 4.4Lite2 code base. I also heard he was working on delayed ordered writes which might mean a lot of changes per fs. Can anyone confirm the any of the above? From owner-freebsd-fs Thu Jul 25 17:50:42 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA15777 for fs-outgoing; Thu, 25 Jul 1996 17:50:42 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA15742; Thu, 25 Jul 1996 17:50:32 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.7.5/CET-v2.1) with SMTP id AAA04696; Fri, 26 Jul 1996 00:50:18 GMT Date: Fri, 26 Jul 1996 09:50:18 +0900 (JST) From: Michael Hancock To: Doug Rabson cc: Poul-Henning Kamp , "John S. Dyson" , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 25 Jul 1996, Doug Rabson wrote: > Is Kirk going to attack some of the same issues as Terry is talking about? > To improve my own understanding of the interface, I just started writing > manpages for the VFS entry points and VOP_LOOKUP makes me feel ill :-). > > Does anyone else have any documentation on our VFS interface? Does anyone > feel like reviewing my efforts? Is it ok if he uploads this to incoming? Mike Hancock From owner-freebsd-fs Thu Jul 25 18:17:28 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA17021 for fs-outgoing; Thu, 25 Jul 1996 18:17:28 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA16991; Thu, 25 Jul 1996 18:17:22 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.7.5/CET-v2.1) with SMTP id BAA04928; Fri, 26 Jul 1996 01:17:09 GMT Date: Fri, 26 Jul 1996 10:17:09 +0900 (JST) From: Michael Hancock To: Poul-Henning Kamp cc: "John S. Dyson" , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Union mounts and other mounts In-Reply-To: <1028.838313231@critter.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 25 Jul 1996, Poul-Henning Kamp wrote: > In message <199607251559.KAA00163@dyson.iquest.net>, "John S. Dyson" writes: > >> Terry, are you out there? > >> > >> Please upload your mega patches. I'm sure someone will take a look and > >> maybe we can at least start with getting the locks fixed. > >> > >I want to consider including Terry's stuff. Even though I do filesystem > >hacking from time to time, I think that we need to get agreement from > >other's (on the team) on the changes. The changes have significant > >architectural implications. > > > >At least, in certain areas, Terry is on the right track... We need to > >get consensus on the changes. The last batch of changes don't fix all > >of the problems, and Jeffery Hsu's stuff should be reviewed and appropriately > >included also. I actually think that we are stagnating in this area a "little > >bit." But again, I don't feel qualified to make wholesale changes in that > >(the VFS) section of the kernel, without agreement from others... Anybody > >have any ideas on this impasse? > > I agree. > > Jeff's changes have higher priority for me than Terrys, because they > bring us closer to the codebase Kirk is hacking away on, and he has > some nice things brewing too. I understand that Jeff's Lite2 work needs to be incorporated before any fs commits can be made. I think we're a ways off from any fs commits anyway. There's been very little analysis on this mailing list of the direction the file systems might be taking. I think its a good idea to look at the work that's been done by Terry; identify the changes that you guys agree with; compare and contrast this with Kirk's work when its available; and then make decisions on what to commit. Mike Hancock From owner-freebsd-fs Fri Jul 26 08:35:55 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA02393 for fs-outgoing; Fri, 26 Jul 1996 08:35:55 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA02371; Fri, 26 Jul 1996 08:35:38 -0700 (PDT) Received: from localhost (dfr@localhost) by minnow.render.com (8.6.12/8.6.9) with SMTP id QAA29350; Fri, 26 Jul 1996 16:36:56 +0100 Date: Fri, 26 Jul 1996 16:36:55 +0100 (BST) From: Doug Rabson To: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: VFS interface manpages Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1032464557-838395415=:24582" Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1032464557-838395415=:24582 Content-Type: TEXT/PLAIN; charset=US-ASCII This is what I have so far. Unpack in /usr/src/share/man/man9 and patch the Makefile. Comments, criticism, manpages I haven't written yet, all welcome :-). -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939 --0-1032464557-838395415=:24582 Content-Type: APPLICATION/octet-stream; name="vopdoc-960726.tar.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: (partial) manpages for VFS interface H4sIAAAAAAAAA+w9aXPbRrL5KvyKiXfLIR2KlmRFfrZWTlEkZGNNkQpB+qh6 VVoQAEU8gQCCgwo38X9/3T0HBgTlKE5ku1JkJSYIzNHd09MXukfLOLl0XNfP svazb+7ps7+3d3R4yL5hjB0e7NM3O+C/8fP04Icjxo72n/7w9MnR4RFc7+8f 7j/9hu3dF0D6p8hyJ2XsG2+WfrQdNJvNPgdAn/fT/t8HBvzPunGySoOrec4a bpPtP3t2xHpxccVGzjSLI0M264Qho2YZS/3MT5e+11YPx/MgY0kaX6XOgsHl LPV9lsWz/MZJ/bLZyPeCLE+DaZEHccScyGNF5rMggrZF6vp0ZxpETrpiszhd ZC12E+RzFqf0HRc5DbOIvWAWuA4O0mIwA0v8dBHkue8hEMvAg4t87uTwjw8D hWF8E0RXzI0jL8BOGQ2DHRd+/px+7LfXoMtYPJNgubEHTYFfAPXcAXBxXGca L/GRoB6NAp8ozgPXb0EToEMIA+I45cyEYhUsmNUNnWDhp0QpdlAHBabUyCJB AVy9AsC7J2gYR1QO5cVusfCj3JFr9xiWJYYGKVs4uZ8GTpiV5Kd1w5F1RDSG eWXZzB6ejd92RiaD64vR8I3VM3vs9D08NFnPfGP2hxfmyGb/+U/Hhibffcc6 gx78/56Z7y5Gpm2z4YgGs84v+hZ0hbFGncHYMu0Wswbd/qRnDV622OlkzAbD Metb59YYmo2HLZqi3o1GG56xc3PUfQW3OqdW3xq/p3nPrPEA5zwbjliHXXRG Y6s76XdG7GIyuhjaJkNEepbd7Xesc7PHl9IawMwMUBmMmf2q0++v43ZqAlid 077JxwXcetbI7I4RAXElBuoCdQCifovZF2bXwgvznQkodEbvW0AJ1h0ObPOn CTSCh6zXOe+8NG3WqBKCBlsnBtC+OxmZ5wglYG9PTu2xNZ6MTfZyOOwhmZlt jt5YXdM+Zv0hEv6MTWyTg9brjDsEAAwDRIImc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R 0qgT/fD0YXDu01YDYup7kbe30P/95X7P0v9L/WXS/1lt6P+nSXvhyP+yYewy aG9+e2ofbh8RYtgw3TPAnd1weJV0k3jYTdCPchc2Ov5b79qPLlyhE8M48Mkm OYb/KBxlf3GtjavSdKamE8NT1stOp+MeWnh2dnsr3f6qWepvLK9t9JZbWHd+ fr5YaK279NL01jd6SxvL6+03b0xnfWHFzK8v9JfNmzdtQ1ZkR/Ob7Hx7cd0k U5Qo4w+XkVxH8aiQA0g4zmVxGdUgSiqAc4GXeObJ77Zpz394u78+v9nScVgM PrAnX3lgCy36yfqx8iAhjaEl3Q7r80GW/XipvYtzOEtuKzIK4tlFkpsLtPot FVK9JX30UgHXbaOCF5dK8TCMuz/AAm2z6AgZLxktIre5eHH+qjkSmtSkJjWp SU1qUpOa1KQmNalJTZqR/gvxk1WYAMgAAA== --0-1032464557-838395415=:24582-- From owner-freebsd-fs Fri Jul 26 09:48:16 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA07606 for fs-outgoing; Fri, 26 Jul 1996 09:48:16 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA07580; Fri, 26 Jul 1996 09:48:09 -0700 (PDT) Received: from localhost (dfr@localhost) by minnow.render.com (8.6.12/8.6.9) with SMTP id RAA29471; Fri, 26 Jul 1996 17:49:44 +0100 Date: Fri, 26 Jul 1996 17:49:43 +0100 (BST) From: Doug Rabson To: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: VFS interface manpages In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 26 Jul 1996, Doug Rabson wrote: > This is what I have so far. Unpack in /usr/src/share/man/man9 and patch > the Makefile. Comments, criticism, manpages I haven't written yet, all > welcome :-). Also available as ftp://freefall.freebsd.org/pub/incoming/vopdoc-960726.tar.gz -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939 From owner-freebsd-fs Sat Jul 27 11:27:41 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA24022 for fs-outgoing; Sat, 27 Jul 1996 11:27:41 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA24010; Sat, 27 Jul 1996 11:27:39 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id aa13859; 27 Jul 96 18:27 GMT Received: from nlsys.demon.co.uk ([158.152.125.33]) by relay-3.mail.demon.net id aa07885; 27 Jul 96 18:43 +0100 Received: from localhost (dfr@localhost) by nlsys.demon.co.uk (8.7.5/8.6.9) with SMTP id SAA00764; Sat, 27 Jul 1996 18:43:31 +0100 (BST) Date: Sat, 27 Jul 1996 18:43:31 +0100 (BST) From: Doug Rabson To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org Subject: VFS interface manpages Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk More manpages on ftp://freefall.freebsd.org/pub/incoming/vopdoc-960727.tar.gz -- Doug Rabson Mail: dfr@nlsys.demon.co.uk Phone: +44 181 951 1891 From owner-freebsd-fs Sat Jul 27 23:07:48 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA00992 for fs-outgoing; Sat, 27 Jul 1996 23:07:48 -0700 (PDT) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA00987 for ; Sat, 27 Jul 1996 23:07:46 -0700 (PDT) Received: from cent.cs.tu-berlin.de (loewis@cent.cs.tu-berlin.de [130.149.22.20]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id IAA01903 for ; Sun, 28 Jul 1996 08:07:13 +0200 From: "Martin v.Loewis" Received: (loewis@localhost) by cent.cs.tu-berlin.de (8.6.12/8.6.6) id IAA17525 for freebsd-fs@freebsd.org; Sun, 28 Jul 1996 08:07:12 +0200 Message-Id: <199607280607.IAA17525@cent.cs.tu-berlin.de> Subject: umount question To: freebsd-fs@freebsd.org Date: Sun, 28 Jul 1996 08:07:11 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-fs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a question on umount(8). Why does it sometimes pass the mounted-from device to unmount(2)? For your reference, I have some code from /usr/src/sbin/umount/umount.c of FreeBSD 2.1.0. In umountfs, the umount parameter is checked: if (stat(name, &sb) < 0) { if (((mntpt = getmntname(name, MNTFROM, &type)) == NULL) && ((mntpt = getmntname(name, MNTON, &type)) == NULL)) { warnx("%s: not currently mounted", name); getmntname in turn checks on name and returns the other: if ((what == MNTON) && !strcmp(mntbuf[i].f_mntfromname, name)) { if (type) *type = mntbuf[i].f_type; return (mntbuf[i].f_mntonname); } if ((what == MNTFROM) && !strcmp(mntbuf[i].f_mntonname, name)) { if (type) *type = mntbuf[i].f_type; return (mntbuf[i].f_mntfromname); } In my case, /dev/wd0s2 was mounted on /mnt, and I invoked 'umount /mnt'. The root vnode of the file system did not support stat(2), so umount ran through the mntlist and found it to a mntonname. As a result, it later invoked unmount(2) with "/dev/wd0s2". unmount now verified whether this is a VROOT vnode, and failed. In the NFS case, I can see why it is important make mntonnames out of mntfromnames, in case somebody invokes "umount remote:/path" (stat will fail here as well). However, I can see no reason to ever pass the mntfromname to unmount. Any comments? Thanks, Martin P.S. I know that the solution is to support stat and lstat in the root vnode. I'm writing this because I actually had to debug umount to see why it fails.