Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934473AbZDAV02 (ORCPT ); Wed, 1 Apr 2009 17:26:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756863AbZDAV0S (ORCPT ); Wed, 1 Apr 2009 17:26:18 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:58704 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754738AbZDAV0R (ORCPT ); Wed, 1 Apr 2009 17:26:17 -0400 Date: Wed, 1 Apr 2009 22:26:00 +0100 From: Matthew Garrett To: Ray Lee Cc: Theodore Tso , Sitsofe Wheeler , "Andreas T.Auer" , Alberto Gonzalez , Linux Kernel Mailing List Subject: Re: Ext4 and the "30 second window of death" Message-ID: <20090401212600.GA18301@srcf.ucam.org> References: <200903311452.05210.info@gnebu.es> <20090331134547.GJ13356@mit.edu> <200904010002.47077.info@gnebu.es> <49D2A5AB.1090704@ursus.ath.cx> <20090401015010.GB4529@mit.edu> <20090401052050.GA20456@sucs.org> <20090401151219.GA12285@srcf.ucam.org> <20090401173521.GA15423@mit.edu> <20090401174336.GA14726@srcf.ucam.org> <2c0942db0904011421w58c0c2dyb70235fb739cbd30@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c0942db0904011421w58c0c2dyb70235fb739cbd30@mail.gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@codon.org.uk X-SA-Exim-Scanned: No (on vavatch.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 20 On Wed, Apr 01, 2009 at 02:21:43PM -0700, Ray Lee wrote: > On Wed, Apr 1, 2009 at 10:43 AM, Matthew Garrett wrote: > > I've got absolutely no idea why anyone would want fsync() to stop > > meaning "Put my data on the disk please". > > Some guy named Andrew used to run a kernel with 'return 0' at the top > of fsync and fdatasync: http://lkml.org/lkml/2007/4/27/88 > > It's that the latency penalty of apps using *sync() on common hardware > sucks. That's all, and finding a way to fix that would make this > entire thread go away, I think. And also disk spinups. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/