From owner-freebsd-current@FreeBSD.ORG Tue Apr 22 07:52:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78C5637B401 for ; Tue, 22 Apr 2003 07:52:12 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE9B843FBD for ; Tue, 22 Apr 2003 07:52:11 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.9/8.12.9) with SMTP id h3MEqN9S097692; Tue, 22 Apr 2003 10:52:25 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 22 Apr 2003 10:52:22 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Wilkinson,Alex" In-Reply-To: <20030422085157.G43433@squirm.dsto.defence.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: HEADS UP: UFS2 now the default creation type on 5.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 14:52:12 -0000 On Tue, 22 Apr 2003, Wilkinson,Alex wrote: > Can you recommend any papers that explain the differences between UFS1 > and UFS2 ie the benefits ? I don't believe there's a specific paper at this point, although no doubt there will be. The upshots are: o 64-bit pointers up the wazoo o Layout and functional changes to help support variable-size blocks (extent-like allocation) o Extension of various flag fields o Addition of per-inode extended attribute extent o Lazy inode initialization (watch newfs(8) fly) The motivating factor in the layout change was the need for better EA support, and while we were at it we figured we'd do a bunch of other useful things too. UFS2 uses the same basic technologies as modern UFS1 (inodes, linear directory layout, soft updates, snapshotting, background file system checking, etc) so it was a relatively low-risk change. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories