From owner-freebsd-current@FreeBSD.ORG Sat Jan 9 10:04:17 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28BF41065676; Sat, 9 Jan 2010 10:04:17 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id C35918FC13; Sat, 9 Jan 2010 10:04:16 +0000 (UTC) Received: by ywh35 with SMTP id 35so11158118ywh.7 for ; Sat, 09 Jan 2010 02:04:13 -0800 (PST) Received: by 10.101.180.9 with SMTP id h9mr2601173anp.187.1263031452950; Sat, 09 Jan 2010 02:04:12 -0800 (PST) Received: from ?10.0.1.198? (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id 21sm1534725iwn.14.2010.01.09.02.04.11 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 02:04:12 -0800 (PST) Date: Sat, 9 Jan 2010 00:06:59 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <4B483CEE.2090502@freebsd.org> Message-ID: References: <4B483CEE.2090502@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: Help test softupdates journaling (SUJ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 09 Jan 2010 10:04:17 -0000 On Sat, 9 Jan 2010, David Xu wrote: > Jeff Roberson wrote: >> Hello, >> >> I have been augmenting softupdates with a small journal that will be >> processed in lieu of fsck in the event of a crash. I have written some >> about this project here: http://jeffr_tech.livejournal.com/ >> >> For now I need volunteers who will attempt to crash the kernel code. It >> now passes fsx, fsstress, and stress2 on my box for many hours. pho@ has >> been helping me and may still have a bug or two but I need a wider audience >> so we can be comfortable with the stability. In a week or so I will also >> provide the checker. Until then a full fsck is required after a crash. > Great news, does it also handle crash of recovering procedure ? > For example, power off during recovering. The recovery procedure can be safely restarted. It evaluates the filesystem state for each entry in the log. It doesn't blindly apply changes. It also only does writes at the end once all records have been processed. Since it only modifies inodes and superblocks it doesn't require a huge disk cache to make this possible. Thanks, Jeff > > Regards, > David Xu >