Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756502Ab0KJPDh (ORCPT ); Wed, 10 Nov 2010 10:03:37 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:41902 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756360Ab0KJPDg (ORCPT ); Wed, 10 Nov 2010 10:03:36 -0500 Content-Type: text/plain; charset=UTF-8 From: Chris Mason To: Christoph Hellwig Cc: Theodore Tso , Dave Chinner , Linus Torvalds , Jens Axboe , dave b , Sanjoy Mahajan , Jesper Juhl , Ingo Molnar , Pekka Enberg , Aidar Kultayev , linux-kernel , linux-mm , Andrew Morton , Peter Zijlstra , Nick Piggin , Arjan van de Ven , Thomas Gleixner , Corrado Zoccolo , Shaohua Li , Steven Barrett Subject: Re: 2.6.36 io bring the system to its knees In-reply-to: <20101110145712.GB22073@infradead.org> References: <20101105014334.GF13830@dastard> <4CD696B4.6070002@kernel.dk> <20101110013255.GR2715@dastard> <20101110145712.GB22073@infradead.org> Date: Wed, 10 Nov 2010 10:00:36 -0500 Message-Id: <1289401148-sup-3632@think> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 19 Excerpts from Christoph Hellwig's message of 2010-11-10 09:57:12 -0500: > On Wed, Nov 10, 2010 at 09:33:29AM -0500, Theodore Tso wrote: > > The chance that this occurs using data=writeback in ext4 is much less, BTW, because with delayed allocation we delay updating the inode until right before we write the block. I have a plan for changing things so that we write the data blocks *first* and then update the metadata blocks second, which will mean that ext4 data=ordered will go away entirely, and we'll get both the safety and as well as avoiding the forced data page writeouts during journal commits. > > That's the scheme used by XFS and btrfs in one form or another. Chris > also had a patch to implement it for ext3, which unfortunately fell > under the floor. It probably still applies, but by the time I had it stable I realized that ext4 was really a better place to fix this stuff. ext3 is what it is (good and bad), and a big change like my data=guarded code probably isn't the best way to help. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/