Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753159AbZC3NBd (ORCPT ); Mon, 30 Mar 2009 09:01:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751053AbZC3NBW (ORCPT ); Mon, 30 Mar 2009 09:01:22 -0400 Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:54810 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750813AbZC3NBV (ORCPT ); Mon, 30 Mar 2009 09:01:21 -0400 Message-ID: <49D0C29C.1060307@uvigo.es> Date: Mon, 30 Mar 2009 22:01:16 +0900 From: =?ISO-8859-1?Q?Fernando_Luis_V=E1zquez_Cao?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Chris Mason CC: Eric Sandeen , Theodore Tso , Bartlomiej Zolnierkiewicz , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: fix blkdev_issue_flush() failure handling References: <200903291928.14451.bzolnier@gmail.com> <49CFB33A.9020406@redhat.com> <20090330022521.GB13356@mit.edu> <49D03AE1.8070009@redhat.com> <1238413667.30488.2.camel@think.oraclecorp.com> In-Reply-To: <1238413667.30488.2.camel@think.oraclecorp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2064 Lines: 46 Chris Mason wrote: > On Sun, 2009-03-29 at 22:22 -0500, Eric Sandeen wrote: >> Theodore Tso wrote: >>> On Sun, Mar 29, 2009 at 12:43:22PM -0500, Eric Sandeen wrote: >>>> As long as we keep the call there this is probably good, but after >>>> talking w/ Chris Mason, I think the call is extraneous anyway and should >>>> probably just be removed... >>>> >>> Yes, I agree, but it takes a lot of digging to be completely sure of >>> that it's safe to remove it. Interestingly, it was you who added the >>> patch which added the call to blkdev_issue_flush(): >>> commit d755fb384250d6bd7fd18a0930e71965acc8e72e >>> Author: Eric Sandeen >>> Date: Fri Jul 11 19:27:31 2008 -0400 >> >> Yes, it was. Although I got the idea when hch pointed out that SuSE did >> this... thanks to Chris. It's come full circle. :) > > Grin. I'm not sure the I_DIRTY checks alone are enough to decide that a > commit is required though. I think the inode could be clean but still > have metadata that needs commit. Chris, I have just sent patches that attempt to fix both ext3 and ext4 while also adding a per-device sysfs knob tu disable write-flushes. A previous version of this patch set added a new generic mount option but comments from Christoph and others convinced me to turn it into a per-device tunable. Could you take a look at the patches? Bartlomiej, I have just noticed that I happened to be working on patches for reiserfs and xfs similar to the ones you sent earlier this week. I picked some bits from your submission so I took the liberty to add your signed-off to my patches. Could you take a look at them and let me know if you are confortable with that? Latest patches: http://lkml.org/lkml/2009/3/30/100 Beginning of the sub-thread: http://lkml.org/lkml/2009/3/29/28 Best regards, Fernando -- 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/