From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id BB9636B0012 for ; Tue, 10 May 2011 16:50:17 -0400 (EDT) From: OGAWA Hirofumi 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> <87aaeur31x.fsf@devron.myhome.or.jp> <20110510170339.GA27538@infradead.org> Date: Wed, 11 May 2011 05:50:07 +0900 In-Reply-To: <20110510170339.GA27538@infradead.org> (Christoph Hellwig's message of "Tue, 10 May 2011 13:03:39 -0400") Message-ID: <87liyep9fk.fsf@devron.myhome.or.jp> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Hellwig Cc: Jan Kara , "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 Christoph Hellwig writes: > On Wed, May 11, 2011 at 12:24:58AM +0900, OGAWA Hirofumi wrote: >> > under writeback and when it's freed no writeback is started. >> >> Sure for data -> data reallocated case. metadata -> data/metadata is >> still there. > > That's usually handled differently. For XFS take a look at the > xfs_alloc_busy_* function. For 2.6.40 they've been mostly rewritten > to rarely wait for the reuse but instead avoid busy blocks. But that's > a real data integrity issue even without stable pages for I/O. Sounds good. So... Are you suggesting this series should use better approach than just blocking? Thanks. -- OGAWA Hirofumi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org