Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932814Ab1EJPZJ (ORCPT ); Tue, 10 May 2011 11:25:09 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:59586 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754009Ab1EJPZG (ORCPT ); Tue, 10 May 2011 11:25:06 -0400 From: OGAWA Hirofumi To: Jan Kara Cc: Christoph Hellwig , "Darrick J. Wong" , Theodore Tso , Alexander Viro , Jens Axboe , "Martin K. Petersen" , Jeff Layton , Dave Chinner , linux-kernel , Dave Hansen , linux-mm@kvack.org, Chris Mason , Joel Becker , linux-scsi , linux-fsdevel , linux-ext4@vger.kernel.org, Mingming Cao Subject: Re: [PATCHSET v3.1 0/7] data integrity: Stabilize pages during writeback for various fses References: <20110509230318.19566.66202.stgit@elm3c44.beaverton.ibm.com> <87tyd31fkc.fsf@devron.myhome.or.jp> <20110510133603.GA5823@infradead.org> <874o524q9h.fsf@devron.myhome.or.jp> <20110510144939.GI4402@quack.suse.cz> Date: Wed, 11 May 2011 00:24:58 +0900 In-Reply-To: <20110510144939.GI4402@quack.suse.cz> (Jan Kara's message of "Tue, 10 May 2011 16:49:39 +0200") Message-ID: <87aaeur31x.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 31 Jan Kara writes: >> Isn't it reallocated blocks too, and metadata too? > Reallocated blocks - not really. For a block to be freed it cannot be > under writeback and when it's freed no writeback is started. Sure for data -> data reallocated case. metadata -> data/metadata is still there. > For metadata - yes. But ext3, ext4, xfs, btrfs have to avoid modifying > metadata under writeback anyway (because of journalling / COW > constraints) and thus they don't care. Yes. Those would use better way than just blocking. > For ext2 or vfat it's a different story. But as I wrote to Darrick, > I'm not sure about vfat but for ext2 and similar legacy filesystems, > I'd rather let them live with their unstable pages under IO ;) because > I see a limited use for that. If this patches was not going to tackle it, I have no argument here ;) It would be simply FS specific approach/fixes anymore like journal. Thanks. -- OGAWA Hirofumi -- 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/