From owner-freebsd-current Wed Mar 20 12:38:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id BEF0E37B404; Wed, 20 Mar 2002 12:38:15 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g2KKc40M013287; Wed, 20 Mar 2002 21:38:05 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Date: Wed, 20 Mar 2002 21:38:04 +0100 Message-ID: <13286.1016656684@critter.freebsd.dk> From: Poul-Henning Kamp Subject: UFS2, GEOM & DARPA - don't get all excited, OK ? MIME-Version: 1.0 Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa" To: undisclosed-recipients:; Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ------- =_aaaaaaaaaa Subject: UFS2, GEOM & DARPA - don't get all excited, OK ? From: Poul-Henning Kamp Date: Wed, 20 Mar 2002 21:38:04 +0100 Message-ID: <13286.1016656684@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Bcc: Blind Distribution List: ; MIME-Version: 1.0 Ok, Kirk and I thought it would stirr a buzz once we even mentioned "UFS2" so let me set the record straight, (or at least firmly crooked): UFS2 is UFS Extended Attributes in the inodes. That's it. No more, no less. In particular that means: No journaling. No Btree-directories, no in-directory inodes. Because we need to increase the size of the inode we chose to "run a revision" and call it UFS2, and obviously, we will make sure all relevant fields get the space they need, or at reserve space for their growth as part of this. Specifically inode numbers, block numbers and time_t will have 64 bit available. We may attempt a couple of neat tricks at the same time: per inode blocksize and lazy inode initializtion. The former might improve I/O performance down the road, the latter speed up newfs and fsck. We will try to avoid forking sys/ufs/ufs if we can, we may have to push some stuff from ufs to ffs to make that happen. In practice this also means a sweep through all the userland stuff to make it work with UFS2: newfs, fsck, tunefs, quotactl, sysinstall etc (that's largely going to be my problem). Incidently there is a not insignificant crossover between UFS and disklabels and from there into GEOM, so some of the things I will be doing in that corner will be hard to attribute only to one or the other of these two DARPA funded projects. The one thing we RSN will cry to have is endian/wordsize agnostic UFS. That is not part of the DARPA project description and it is unlikely to "sneak" into it. We have it in mind though. (The NETBSD work is not uninteresting, but both Kirk and I feel that there might be a better and even more general solution.) And this is yet a problem with significant crossover to the issues I have in GEOM with reading labeling data structures of disks in alien formats so some of the technology I plan for GEOM might be applicable to UFS as well. Finally, If you are in the US and you think it is a good thing that DARPA sponsors stuff like this, don't forget to say so to people who might, directly or indirectly, provide feedback to DARPA. I hope this answers the FAQ on UFS2, GEOM and all that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ------- =_aaaaaaaaaa-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message