Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755650Ab0KJO15 (ORCPT ); Wed, 10 Nov 2010 09:27:57 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:52648 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072Ab0KJO14 (ORCPT ); Wed, 10 Nov 2010 09:27:56 -0500 Date: Wed, 10 Nov 2010 15:27:21 +0100 From: Ingo Molnar To: Pavel Machek Cc: Dave Chinner , Linus Torvalds , Jens Axboe , dave b , Sanjoy Mahajan , Jesper Juhl , Chris Mason , Pekka Enberg , Aidar Kultayev , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Peter Zijlstra , Nick Piggin , Arjan van de Ven , Thomas Gleixner , "Ted Ts'o" , Corrado Zoccolo , Shaohua Li , Steven Barrett Subject: Re: 2.6.36 io bring the system to its knees Message-ID: <20101110142721.GA14496@elte.hu> References: <20101105014334.GF13830@dastard> <4CD696B4.6070002@kernel.dk> <20101110013255.GR2715@dastard> <20101110142037.GA1447@ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101110142037.GA1447@ucw.cz> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1456 Lines: 37 * Pavel Machek wrote: > Hi! > > > > > As already mentioned, ext3 is just not a good choice for this sort of > > > > thing. Did you have atimes enabled? > > > > > > At least for ext3, more important than atimes is the "data=writeback" > > > setting. Especially since our atime default is sane these days (ie if > > > you don't specify anything, we end up using 'relatime'). > > > > > > If you compile your own kernel, answer "N" to the question > > > > > > Default to 'data=ordered' in ext3? > > > > > > at config time (CONFIG_EXT3_DEFAULTS_TO_ORDERED), or you can make sure > > > "data=writeback" is in the fstab (but I don't think everything honors > > > it for the root filesystem). > > > > Don't forget to mention data=writeback is not the default because if your system > > crashes or you lose power running in this mode it will *CORRUPT YOUR FILESYSTEM* > > and you *WILL LOSE DATA*. Not to mention > > You will lose your data, but the filesystem should still be consistent, right? > Metadata are still journaled. That is data that was freshly touched around the time the system went down, right? I.e. data that was probably half-modified by user-space to begin with. Ingo -- 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/