From owner-freebsd-fs Fri Feb 9 10:43:22 2001 Delivered-To: freebsd-fs@freebsd.org Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by hub.freebsd.org (Postfix) with ESMTP id B566537B401; Fri, 9 Feb 2001 10:43:01 -0800 (PST) Received: from ledzep.americas.sgi.com (relay.cray.com [137.38.226.97]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id KAA05895; Fri, 9 Feb 2001 10:42:51 -0800 (PST) mail_from (cattelan@thebarn.com) Received: from gibble.americas.sgi.com (gibble.americas.sgi.com [128.162.195.80]) by ledzep.americas.sgi.com (SGI-SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id MAA25243; Fri, 9 Feb 2001 12:42:50 -0600 (CST) Received: from thebarn.com (localhost [127.0.0.1]) by gibble.americas.sgi.com (8.11.0/8.11.0) with ESMTP id f19Ifo020453; Fri, 9 Feb 2001 12:41:50 -0600 Message-ID: <3A8439ED.57011A40@thebarn.com> Date: Fri, 09 Feb 2001 12:41:50 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.1-XFS i686) X-Accept-Language: en MIME-Version: 1.0 To: Adrian Chadd Cc: tlambert@primenet.com, freebsd-fs@FreeBSD.ORG Subject: Re: XFS References: <20010209080801.A56926@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Adrian Chadd wrote: > Terry said: > > > I am offering to do a preliminary port of the XFS code, > > potentially to the point of minimally a read-only mount, and > > perhaps much further, depending on the effort required. > > .. and I'm already (only initially) trudging my way through the > linux XFS code and slowly fixing it up. > > I've hit a sticker - the lacking mount interface we have - which > I'm also slowly reworking to be more flexible and suited to > the XFS requirements. > > So Terry, if you'd like to help, lets sort out the mount interface, > help me finish bits of the userland interface, and then we can > work on getting the XFS kernel code in. > > .. i might say that from what I hear, it might be easier to port > XFS to FreeBSD based on the original XFS code before it was > Linux-ified, but I'm willing to walk through the linux code. I can go back in time and dig up any of the old interface code. It will have to used only as reference since it may have old license issues, most of it was clean but a couple of places had problems. VFS and VNODE stuff was clean based on the fact the BSD code is out there. Note: we put a layer over the top of the XFS vfs/vnode interface most of the interface is in tact, and should be a matter of stripping of the linvfs_ layer. CXFS needs stackable FS's, the linux VFS layer doesn't have any concept of this, so we needed to keep the vfs/vnode stuff. Behaviors will have to be added... this shouldn't be to much of a problem. Rig now the vnode is part of the linux inode structure... all the vnode members were left in place... the only thing that was pushed up was the count, but this was done with a macro, this should be a trivial conversion. > I wish I had more time to work on this stuff, but the linux port has a lot of work on the todo list. But please keep asking questions; I really would like to see XFS on a decent OS. > > Adrian -- Russell Cattelan -- Digital Elves inc. -- Currently on loan to SGI Linux XFS core developer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message