From owner-freebsd-arch@FreeBSD.ORG Mon Mar 31 22:29:39 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 308DF1065673; Mon, 31 Mar 2008 22:29:39 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 22D468FC28; Mon, 31 Mar 2008 22:29:38 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id A779A1A4D8D; Mon, 31 Mar 2008 15:29:38 -0700 (PDT) Date: Mon, 31 Mar 2008 15:29:38 -0700 From: Alfred Perlstein To: Poul-Henning Kamp Message-ID: <20080331222938.GS95731@elvis.mu.org> References: <20080331222154.C976C5B50@mail.bitblocks.com> <26080.1207002217@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26080.1207002217@critter.freebsd.dk> User-Agent: Mutt/1.4.2.3i Cc: Christopher Arnold , Martin Fouts , arch@freebsd.org, qpadla@gmail.com, freebsd-arch@freebsd.org Subject: Re: Flash disks and FFS layout heuristics X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 22:29:39 -0000 * Poul-Henning Kamp [080331 15:24] wrote: > In message <20080331222154.C976C5B50@mail.bitblocks.com>, Bakul Shah writes: > >On Mon, 31 Mar 2008 13:06:10 PDT Matthew Dillon wrote: > >> But how do you index that information? You can't simply append the > >> information to the NAND unless you also have a way to access it. So > >> does the filesystem have to scan the NAND (or significant portions of it) > >> in order to build an index of the filesystem topology in system memory? > > > >One possible way: > > > >I'd design the system so that each update ends with the write > >of a root block[1]. > > This is sort of the approach Margo Seltzer used for her (Kludge-)LFS > it has many drawbacks, in particular when it comes to recovery. Can you explain why? I could see it being a problem because recovering the filesystem's most recent change might require significant scanning? -- - Alfred Perlstein