From owner-freebsd-lite2 Mon Sep 30 03:45:19 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA14649 for lite2-outgoing; Mon, 30 Sep 1996 03:45:19 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA14581 for freebsd-lite2; Mon, 30 Sep 1996 03:45:15 -0700 (PDT) Date: Mon, 30 Sep 1996 03:45:15 -0700 (PDT) From: Doug Rabson Message-Id: <199609301045.DAA14581@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/i386/isa fd.c wd.c src/sys/scsi cd.c od.c sd.c st.c Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:45:13 Branch: sys/i386/isa LITE2 sys/scsi LITE2 Modified: sys/i386/isa fd.c wd.c sys/scsi cd.c od.c sd.c st.c Log: Specify D_DISK flag for securelevel functionality. Revision Changes Path 1.91.2000.1 +2 -2 src/sys/i386/isa/fd.c 1.115.2000.1 +2 -2 src/sys/i386/isa/wd.c 1.72.2000.1 +2 -2 src/sys/scsi/cd.c 1.21.2000.1 +2 -2 src/sys/scsi/od.c 1.93.2000.1 +3 -2 src/sys/scsi/sd.c 1.72.2000.1 +2 -2 src/sys/scsi/st.c From owner-freebsd-lite2 Mon Sep 30 03:55:23 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA12788 for lite2-outgoing; Mon, 30 Sep 1996 03:43:12 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA12709 for freebsd-lite2; Mon, 30 Sep 1996 03:43:07 -0700 (PDT) Date: Mon, 30 Sep 1996 03:43:07 -0700 (PDT) From: Doug Rabson Message-Id: <199609301043.DAA12709@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/sys conf.h Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:43:05 Branch: sys/sys LITE2 Modified: sys/sys conf.h Log: Remove d_type from [bc]devsw for backwards compatibility with -current. Revision Changes Path 1.31.2000.2 +1 -3 src/sys/sys/conf.h From owner-freebsd-lite2 Mon Sep 30 03:55:25 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA21999 for lite2-outgoing; Mon, 30 Sep 1996 03:55:25 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA21902 for freebsd-lite2; Mon, 30 Sep 1996 03:55:19 -0700 (PDT) Date: Mon, 30 Sep 1996 03:55:19 -0700 (PDT) From: Doug Rabson Message-Id: <199609301055.DAA21902@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/sys mount.h Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:55:17 Branch: sys/sys LITE2 Modified: sys/sys mount.h Log: Add backward-compatibility code with FreeBSD-current fs binaries. Revision Changes Path 1.32.2000.3 +3 -2 src/sys/sys/mount.h From owner-freebsd-lite2 Mon Sep 30 03:56:19 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA22792 for lite2-outgoing; Mon, 30 Sep 1996 03:56:19 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA22637 for freebsd-lite2; Mon, 30 Sep 1996 03:56:10 -0700 (PDT) Date: Mon, 30 Sep 1996 03:56:10 -0700 (PDT) From: Doug Rabson Message-Id: <199609301056.DAA22637@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:56:06 Branch: sys/ufs/ffs LITE2 Modified: sys/ufs/ffs ffs_vfsops.c Log: Add struct proc* argument to vnode_pager_uncache. Revision Changes Path 1.40.2000.3 +4 -9 src/sys/ufs/ffs/ffs_vfsops.c From owner-freebsd-lite2 Mon Sep 30 04:52:52 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA16799 for lite2-outgoing; Mon, 30 Sep 1996 03:48:04 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA16707 for freebsd-lite2; Mon, 30 Sep 1996 03:47:57 -0700 (PDT) Date: Mon, 30 Sep 1996 03:47:57 -0700 (PDT) From: Doug Rabson Message-Id: <199609301047.DAA16707@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/miscfs/deadfs dead_vnops.c src/sys/miscfs/specfs spec_vnops.c Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:47:56 Branch: sys/miscfs/deadfs LITE2 Modified: sys/miscfs/deadfs dead_vnops.c Log: Restore FreeBSD behaviour for dead_read. Revision Changes Path 1.10.2000.2 +10 -1 src/sys/miscfs/deadfs/dead_vnops.c Branch: sys/miscfs/specfs LITE2 Modified: sys/miscfs/specfs spec_vnops.c Log: Use d_flags to implement securelevel instead of d_type. Add a struct proc* argument to vnode_pager_uncache. Revision Changes Path 1.32.2000.2 +21 -6 src/sys/miscfs/specfs/spec_vnops.c From owner-freebsd-lite2 Mon Sep 30 04:53:32 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA19534 for lite2-outgoing; Mon, 30 Sep 1996 03:52:06 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA19401 for freebsd-lite2; Mon, 30 Sep 1996 03:51:46 -0700 (PDT) Date: Mon, 30 Sep 1996 03:51:46 -0700 (PDT) From: Doug Rabson Message-Id: <199609301051.DAA19401@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/nfs nfs_bio.c nfs_serv.c nfs_vfsops.c nfs_vnops.c src/sys/vm vm_extern.h vnode_pager.c src/sys/kern kern_conf.c kern_lkm.c vfs_init.c vfs_syscalls.c Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 03:51:43 Branch: sys/nfs LITE2 sys/vm LITE2 sys/kern LITE2 Modified: sys/nfs nfs_bio.c nfs_serv.c nfs_vfsops.c nfs_vnops.c sys/vm vm_extern.h vnode_pager.c sys/kern kern_conf.c kern_lkm.c vfs_init.c vfs_syscalls.c Log: Add backward-compatibility code for FreeBSD-current fs binaries. Add a struct proc* argument to vnode_pager_uncache. Revision Changes Path 1.24.2000.2 +3 -3 src/sys/nfs/nfs_bio.c 1.33.2000.2 +3 -3 src/sys/nfs/nfs_serv.c 1.29.2000.2 +57 -2 src/sys/nfs/nfs_vfsops.c 1.34.2000.2 +2 -2 src/sys/nfs/nfs_vnops.c 1.25.2000.2 +2 -2 src/sys/vm/vm_extern.h 1.63.2000.2 +4 -4 src/sys/vm/vnode_pager.c 1.11.2000.1 +9 -1 src/sys/kern/kern_conf.c 1.32.2000.2 +2 -2 src/sys/kern/kern_lkm.c 1.20.2000.3 +41 -3 src/sys/kern/vfs_init.c 1.50.2000.3 +3 -3 src/sys/kern/vfs_syscalls.c From owner-freebsd-lite2 Mon Sep 30 05:47:36 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA24029 for lite2-outgoing; Mon, 30 Sep 1996 05:47:36 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA23949 for freebsd-lite2; Mon, 30 Sep 1996 05:47:31 -0700 (PDT) Date: Mon, 30 Sep 1996 05:47:31 -0700 (PDT) From: Doug Rabson Message-Id: <199609301247.FAA23949@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys/isofs/cd9660 TODO cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_node.h cd9660_rrip.c cd9660_rrip.h cd9660_util.c cd9660_vfsops.c cd9660_vnops.c iso.h Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 05:47:29 Branch: sys/isofs/cd9660 LITE2 Modified: sys/isofs/cd9660 TODO cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_node.h cd9660_rrip.c cd9660_rrip.h cd9660_util.c cd9660_vfsops.c cd9660_vnops.c iso.h Log: Merge lite2 cd9660 filesystem. This has only had minimal testing since my Goldstar cd is not currently supported and I can't find the patches for it. Revision Changes Path 1.2.2000.1 +1 -31 src/sys/isofs/cd9660/TODO 1.3.2000.1 +8 -8 src/sys/isofs/cd9660/cd9660_bmap.c 1.9.2000.1 +98 -79 src/sys/isofs/cd9660/cd9660_lookup.c 1.13.2000.1 +145 -319 src/sys/isofs/cd9660/cd9660_node.c 1.7.2000.1 +16 -22 src/sys/isofs/cd9660/cd9660_node.h 1.9.2000.1 +41 -37 src/sys/isofs/cd9660/cd9660_rrip.c 1.3.2000.1 +17 -23 src/sys/isofs/cd9660/cd9660_rrip.h 1.5.2000.1 +11 -98 src/sys/isofs/cd9660/cd9660_util.c 1.15.2000.1 +282 -168 src/sys/isofs/cd9660/cd9660_vfsops.c 1.25.2000.1 +412 -311 src/sys/isofs/cd9660/cd9660_vnops.c 1.9.2000.1 +72 -65 src/sys/isofs/cd9660/iso.h From owner-freebsd-lite2 Mon Sep 30 05:50:48 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA26971 for lite2-outgoing; Mon, 30 Sep 1996 05:50:48 -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 FAA26708; Mon, 30 Sep 1996 05:50:31 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id NAA10914; Mon, 30 Sep 1996 13:49:44 +0100 Date: Mon, 30 Sep 1996 13:49:44 +0100 (BST) From: Doug Rabson To: Bruce Evans cc: dfr@freefall.freebsd.org, freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys/miscfs/deadfs dead_vnops.c src/sys/miscfs/specfs spec_vnops.c In-Reply-To: <199609301220.WAA17001@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 30 Sep 1996, Bruce Evans wrote: > > Branch: sys/miscfs/deadfs LITE2 > > Modified: sys/miscfs/deadfs dead_vnops.c > > Log: > > Restore FreeBSD behaviour for dead_read. > > I prefer the Lite2 behaviour. The tty driver already implements it for > disconnected but unrevoked ttys, so applications must be used to it. > (POSIX allows either EOF or EIO for reads on disconnected ttys.) > Disconnection should be implemented using revoke() to free the physical > tty. The tricky part is marking the vnode with the VISTTY flag. This was done by having d_type == D_TTY for the cdevsw of the tty and checking that in specfs_open. Since ttys don't have a bdevsw and there was no handy d_flags to use instead of d_type in cdevsw, I couldn't know whether the device was a tty and set the VISTTY flag. I left the lite2 code there conditionally if you can think of a way to make it work. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Mon Sep 30 06:01:59 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA13699 for lite2-outgoing; Mon, 30 Sep 1996 05:35:05 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA13442; Mon, 30 Sep 1996 05:34:41 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id WAA17001; Mon, 30 Sep 1996 22:20:47 +1000 Date: Mon, 30 Sep 1996 22:20:47 +1000 From: Bruce Evans Message-Id: <199609301220.WAA17001@godzilla.zeta.org.au> To: dfr@freefall.freebsd.org, freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys/miscfs/deadfs dead_vnops.c src/sys/miscfs/specfs spec_vnops.c Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Branch: sys/miscfs/deadfs LITE2 > Modified: sys/miscfs/deadfs dead_vnops.c > Log: > Restore FreeBSD behaviour for dead_read. I prefer the Lite2 behaviour. The tty driver already implements it for disconnected but unrevoked ttys, so applications must be used to it. (POSIX allows either EOF or EIO for reads on disconnected ttys.) Disconnection should be implemented using revoke() to free the physical tty. Bruce From owner-freebsd-lite2 Mon Sep 30 06:13:52 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05041 for lite2-outgoing; Mon, 30 Sep 1996 05:59:50 -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 FAA04918; Mon, 30 Sep 1996 05:59:41 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id NAA10948; Mon, 30 Sep 1996 13:59:21 +0100 Date: Mon, 30 Sep 1996 13:59:21 +0100 (BST) From: Doug Rabson To: fs@freebsd.org, lite2@freebsd.org Subject: Lite2 filesystem code needs testing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I think that the Lite2 Merge has got to a stage where it is stable enough for testing. The kernel boots (and shuts down!) cleanly and most of the filesystems except msdosfs and devfs are converted to the new regime. I have seen it panic a couple of times but it is good enough to run xemacs and a kernel compile. I just added some code to make it easier to move from a -current system to a lite2 system - add COMPAT_PRELITE2 to your kernel config. This is pretty minimal compatibility - just enough to get -current's getvfsent() and mount_nfs to work. In particular, fsck on a dirty root filesystem seems to fail to remount the filesystem, causing annoying double-reboots after a panic. Two major work items need to be completed before this code can go into -current: make a LINT kernel compile with no warnings and complete a 'make world'. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Mon Sep 30 06:26:22 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA28228 for lite2-outgoing; Mon, 30 Sep 1996 06:26:22 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA28176; Mon, 30 Sep 1996 06:26:19 -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 PAA08320; Mon, 30 Sep 1996 15:25:48 +0200 (MET DST) To: Doug Rabson cc: fs@freebsd.org, lite2@freebsd.org Subject: Re: Lite2 filesystem code needs testing In-reply-to: Your message of "Mon, 30 Sep 1996 13:59:21 BST." Date: Mon, 30 Sep 1996 15:25:47 +0200 Message-ID: <8318.844089947@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message , Doug R abson writes: Cool. Why don't you make a task-list, check it in and people can grab tasks from there ? -- 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-lite2 Mon Sep 30 06:45:58 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA09064 for lite2-outgoing; Mon, 30 Sep 1996 06:39:02 -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 GAA09021; Mon, 30 Sep 1996 06:38:59 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id IAA03675; Mon, 30 Sep 1996 08:37:50 -0500 (EST) From: "John S. Dyson" Message-Id: <199609301337.IAA03675@dyson.iquest.net> Subject: Re: Lite2 filesystem code needs testing To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Mon, 30 Sep 1996 08:37:50 -0500 (EST) Cc: dfr@render.com, fs@freebsd.org, lite2@freebsd.org In-Reply-To: <8318.844089947@critter.tfs.com> from "Poul-Henning Kamp" at Sep 30, 96 03:25:47 pm Reply-To: dyson@freebsd.org 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-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > In message , Doug R > abson writes: > > Cool. > > Why don't you make a task-list, check it in and people can grab tasks > from there ? > Good idea. John From owner-freebsd-lite2 Mon Sep 30 06:49:25 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA17936 for lite2-outgoing; Mon, 30 Sep 1996 06:49:25 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA17837; Mon, 30 Sep 1996 06:49:19 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id XAA19437; Mon, 30 Sep 1996 23:38:50 +1000 Date: Mon, 30 Sep 1996 23:38:50 +1000 From: Bruce Evans Message-Id: <199609301338.XAA19437@godzilla.zeta.org.au> To: dfr@render.com, fs@freebsd.org, lite2@freebsd.org Subject: Re: Lite2 filesystem code needs testing Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Two major work items need to be completed before this code can go into >-current: make a LINT kernel compile with no warnings and complete a That would be 5000 fewer lines of warnings that for -current itself :-]. gcc-2.7 emits about 4800 new ones. Bruce From owner-freebsd-lite2 Mon Sep 30 07:20:38 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA09431 for lite2-outgoing; Mon, 30 Sep 1996 07:20:38 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA09398 for freebsd-lite2; Mon, 30 Sep 1996 07:20:33 -0700 (PDT) Date: Mon, 30 Sep 1996 07:20:33 -0700 (PDT) From: Doug Rabson Message-Id: <199609301420.HAA09398@freefall.freebsd.org> To: freebsd-lite2 Subject: cvs commit: src/sys TODO Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/09/30 07:20:31 Branch: sys LITE2 Added: sys TODO Log: This is a list of stuff that I think needs to be done before the lite2 filesystem code is merged into -current. Feel free to add/remove/change tasks. From owner-freebsd-lite2 Mon Sep 30 07:30:44 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA14237 for lite2-outgoing; Mon, 30 Sep 1996 07:30:44 -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 HAA14127; Mon, 30 Sep 1996 07:30:27 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id PAA11252; Mon, 30 Sep 1996 15:30:14 +0100 Date: Mon, 30 Sep 1996 15:30:13 +0100 (BST) From: Doug Rabson To: Doug Rabson cc: freebsd-lite2@freefall.freebsd.org, peter@freebsd.org Subject: Re: cvs commit: src/sys TODO In-Reply-To: <199609301420.HAA09398@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 30 Sep 1996, Doug Rabson wrote: > dfr 96/09/30 07:20:31 > > Branch: sys LITE2 > Added: sys TODO > Log: > This is a list of stuff that I think needs to be done before the lite2 > filesystem code is merged into -current. Feel free to add/remove/change > tasks. > Hmm. CVS has chosen to use branch 1.1.2 for this new file. All the rest of the lite2 code was given a special branch number (2000) to make it easier to merge with -current. Peter, is this a problem? If it is, could you wave your magic cvs wand and fix the branch number? -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Mon Sep 30 07:31:12 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA11491 for lite2-outgoing; Mon, 30 Sep 1996 07:25: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 HAA11433; Mon, 30 Sep 1996 07:25:05 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id PAA11222; Mon, 30 Sep 1996 15:24:44 +0100 Date: Mon, 30 Sep 1996 15:24:42 +0100 (BST) From: Doug Rabson To: Poul-Henning Kamp cc: fs@freebsd.org, lite2@freebsd.org Subject: Re: Lite2 filesystem code needs testing In-Reply-To: <8318.844089947@critter.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 30 Sep 1996, Poul-Henning Kamp wrote: > In message , Doug R > abson writes: > > Cool. > > Why don't you make a task-list, check it in and people can grab tasks > from there ? I just committed a TODO list. Jeffrey, you might want to look at my list and add or remove stuff as appropriate. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Tue Oct 1 18:21:50 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA18068 for lite2-outgoing; Tue, 1 Oct 1996 18:21:50 -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 SAA18058; Tue, 1 Oct 1996 18:21:45 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.0/CET-v2.1) with SMTP id BAA01783; Wed, 2 Oct 1996 01:21:44 GMT Date: Wed, 2 Oct 1996 10:21:43 +0900 (JST) From: Michael Hancock To: Doug Rabson cc: freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-Reply-To: <199609301420.HAA09398@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 30 Sep 1996, Doug Rabson wrote: > dfr 96/09/30 07:20:31 > > Branch: sys LITE2 > Added: sys TODO > Log: > This is a list of stuff that I think needs to be done before the lite2 > filesystem code is merged into -current. Feel free to add/remove/change > tasks. I noticed we're merging in simple_lock(). What's the convention for the new arguments to VOP_LOCK for fs' such as msdosfs? Regards, Mike Hancock From owner-freebsd-lite2 Wed Oct 2 05:01:41 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA01358 for lite2-outgoing; Wed, 2 Oct 1996 05:01:41 -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 FAA01346; Wed, 2 Oct 1996 05:01:29 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id NAA22750; Wed, 2 Oct 1996 13:00:36 +0100 Date: Wed, 2 Oct 1996 13:00:33 +0100 (BST) From: Doug Rabson To: Michael Hancock cc: Doug Rabson , freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 2 Oct 1996, Michael Hancock wrote: > On Mon, 30 Sep 1996, Doug Rabson wrote: > > > dfr 96/09/30 07:20:31 > > > > Branch: sys LITE2 > > Added: sys TODO > > Log: > > This is a list of stuff that I think needs to be done before the lite2 > > filesystem code is merged into -current. Feel free to add/remove/change > > tasks. > > I noticed we're merging in simple_lock(). I think that it would be a good idea to keep the simple_lock stuff since it seems to have the promise of multithreading the FS code in a future SMP system. It is almost certainly broken in the current tree since it is pretty tricky to test on a uniprocessor. There is some DEBUG code in kern_lock.c which looks as if it might be useful. > > What's the convention for the new arguments to VOP_LOCK for fs' such as > msdosfs? I think the convention is that if you are changing any field in the struct vnode, you should use simple_lock on vp->v_interlock. There are other interlocks which protect the mount list etc. Under no circumstances should any process which holds a simplelock sleep for any reason. Old code which calls VOP_LOCK(vp) typically changes to vn_lock(vp, LK_EXCLUSIVE|LK_RETRY, p) and calls to VOP_UNLOCK(vp) change to VOP_UNLOCK(vp, 0, p) If the caller has already locked vp->v_interlock, it should add the LK_INTERLOCK flag to the call to vn_lock(). If in addition it is prepared to deal with errors, it can omit the LK_RETRY flag. There are other flags which are documented in . -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Wed Oct 2 05:44:51 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA03054 for lite2-outgoing; Wed, 2 Oct 1996 05:44:51 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA03045; Wed, 2 Oct 1996 05:44:37 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id UAA00649; Wed, 2 Oct 1996 20:42:37 +0800 (WST) Message-Id: <199610021242.UAA00649@spinner.DIALix.COM> X-Mailer: exmh version 1.6.7 5/3/96 To: Doug Rabson cc: Michael Hancock , Doug Rabson , freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-reply-to: Your message of "Wed, 02 Oct 1996 13:00:33 +0100." Date: Wed, 02 Oct 1996 20:42:36 +0800 From: Peter Wemm Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Doug Rabson wrote: > On Wed, 2 Oct 1996, Michael Hancock wrote: > > > On Mon, 30 Sep 1996, Doug Rabson wrote: > > > > > dfr 96/09/30 07:20:31 > > > > > > Branch: sys LITE2 > > > Added: sys TODO > > > Log: > > > This is a list of stuff that I think needs to be done before the lite2 > > > filesystem code is merged into -current. Feel free to add/remove/chang e > > > tasks. > > > > I noticed we're merging in simple_lock(). > > I think that it would be a good idea to keep the simple_lock stuff since > it seems to have the promise of multithreading the FS code in a future SMP > system. It is almost certainly broken in the current tree since it is > pretty tricky to test on a uniprocessor. There is some DEBUG code in > kern_lock.c which looks as if it might be useful. A couple of points: - Kirk McKusick is reportedly putting some serious time into doing the VFS's so that they are fully multithreaded, and he's apparently using the lite2 kern_lock framework. We don't want to rule out the chance of using his code should it become available and work. (I hear he's doing some contracting for BSDI, I wonder if the FS work is what he's doing for them? If so, it may not be available to us). - I'm scratching my head over the SMP code's locking and am trying out some experiments. It's looking reasonably promising that we can use the kern_lock code to do internal kernel locking above the trap/exception/irq layer, thus breaking the global mutex up. We can provide the raw boolean locking primatives etc as appropriate. It's not really suitable code to use it on the raw edge of the kernel entry points, but it looks like it can be used above that. In any case, it will certainly be interesting when the lite2 code meets the smp code. :-) Cheers, -Peter From owner-freebsd-lite2 Wed Oct 2 06:29:13 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA06310 for lite2-outgoing; Wed, 2 Oct 1996 06:29:13 -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 GAA06177; Wed, 2 Oct 1996 06:28:46 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id OAA22987; Wed, 2 Oct 1996 14:25:59 +0100 Date: Wed, 2 Oct 1996 14:25:55 +0100 (BST) From: Doug Rabson To: Peter Wemm cc: Michael Hancock , Doug Rabson , freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-Reply-To: <199610021242.UAA00649@spinner.DIALix.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 2 Oct 1996, Peter Wemm wrote: > Doug Rabson wrote: > > On Wed, 2 Oct 1996, Michael Hancock wrote: > > > > > On Mon, 30 Sep 1996, Doug Rabson wrote: > > > > > > > dfr 96/09/30 07:20:31 > > > > > > > > Branch: sys LITE2 > > > > Added: sys TODO > > > > Log: > > > > This is a list of stuff that I think needs to be done before the lite2 > > > > filesystem code is merged into -current. Feel free to add/remove/chang > e > > > > tasks. > > > > > > I noticed we're merging in simple_lock(). > > > > I think that it would be a good idea to keep the simple_lock stuff since > > it seems to have the promise of multithreading the FS code in a future SMP > > system. It is almost certainly broken in the current tree since it is > > pretty tricky to test on a uniprocessor. There is some DEBUG code in > > kern_lock.c which looks as if it might be useful. > > A couple of points: > - Kirk McKusick is reportedly putting some serious time into doing the > VFS's so that they are fully multithreaded, and he's apparently using the > lite2 kern_lock framework. We don't want to rule out the chance of using > his code should it become available and work. (I hear he's doing some > contracting for BSDI, I wonder if the FS work is what he's doing for them? > If so, it may not be available to us). To my untutored eye, it looks as if the lite2 fs code is pretty close to being MP-safe, modulo its interface to the VM system. If Kirk is perfecting that, it would be very nice to have. Lets hope BSDI doesn't try to lock it up too tightly. [pun not intended]. > - I'm scratching my head over the SMP code's locking and am trying out > some experiments. It's looking reasonably promising that we can use the > kern_lock code to do internal kernel locking above the trap/exception/irq > layer, thus breaking the global mutex up. We can provide the raw boolean > locking primatives etc as appropriate. It's not really suitable code to > use it on the raw edge of the kernel entry points, but it looks like it > can be used above that. I was just looking at the NCPUS>1 version of the simple_locks in (that seems like a bizarre place to put them...). They are nowhere near as complicated as the SMP kernel lock. Do they have to be? > > In any case, it will certainly be interesting when the lite2 code meets > the smp code. :-) Indeed. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-freebsd-lite2 Wed Oct 2 21:43:24 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA29147 for lite2-outgoing; Wed, 2 Oct 1996 21:43:24 -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 VAA29136; Wed, 2 Oct 1996 21:43:21 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.0/CET-v2.1) with SMTP id EAA13540; Thu, 3 Oct 1996 04:42:42 GMT Date: Thu, 3 Oct 1996 13:42:42 +0900 (JST) From: Michael Hancock To: Peter Wemm cc: Doug Rabson , Doug Rabson , freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-Reply-To: <199610021242.UAA00649@spinner.DIALix.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 2 Oct 1996, Peter Wemm wrote: > A couple of points: > - Kirk McKusick is reportedly putting some serious time into doing the > VFS's so that they are fully multithreaded, and he's apparently using the > lite2 kern_lock framework. We don't want to rule out the chance of using > his code should it become available and work. (I hear he's doing some > contracting for BSDI, I wonder if the FS work is what he's doing for them? > If so, it may not be available to us). I hope Jordan can tell us something here. If BSDI considers this stuff baseline then we should be ok. FreeBSD has a contributor pool which would benefit BSDI for userland stuff maybe we can be more BSDI friendly or at least BSDI conscious in return. Regards, Mike Hancock From owner-freebsd-lite2 Thu Oct 3 00:25:05 1996 Return-Path: owner-lite2 Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA08399 for lite2-outgoing; Thu, 3 Oct 1996 00:25:05 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA08388 for ; Thu, 3 Oct 1996 00:24:58 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id PAA03627; Thu, 3 Oct 1996 15:23:17 +0800 (WST) Message-Id: <199610030723.PAA03627@spinner.DIALix.COM> To: Michael Hancock cc: Doug Rabson , freebsd-lite2@freefall.freebsd.org Subject: Re: cvs commit: src/sys TODO In-reply-to: Your message of "Thu, 03 Oct 1996 13:42:42 +0900." Date: Thu, 03 Oct 1996 15:23:17 +0800 From: Peter Wemm Sender: owner-lite2@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Michael Hancock wrote: > On Wed, 2 Oct 1996, Peter Wemm wrote: > > > A couple of points: > > - Kirk McKusick is reportedly putting some serious time into doing the > > VFS's so that they are fully multithreaded, and he's apparently using the > > lite2 kern_lock framework. We don't want to rule out the chance of using > > his code should it become available and work. (I hear he's doing some > > contracting for BSDI, I wonder if the FS work is what he's doing for them? > > If so, it may not be available to us). > > I hope Jordan can tell us something here. If BSDI considers this stuff > baseline then we should be ok. Before we go into "Doom and Gloom" mode, I'll point out that I have *no* such information that this is happening. It was just an idle speculation that I probably should have left out. When I met Kirk while he was over here on a conference tour, he certainly cared about things like BSD in general, so I'd be extremely suprised if this was a "completely under wraps" deal. I'm sorry I opened my mouth, but it is something we need to keep in mind though. We shouldn't make long-term decisions counting on code that we don't have in hand. Cheers, -Peter