From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trond Myklebust Subject: Re: [patch] mm: close page_mkwrite races Date: Wed, 01 Apr 2009 19:33:31 -0400 Message-ID: <1238628811.18376.4.camel@heimdal.trondhjem.org> References: <20090330135307.GP31000@wotan.suse.de> <20090330135613.GQ31000@wotan.suse.de> <20090401160241.ec2f4573.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Sage Weil , npiggin@suse.de, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org To: Andrew Morton Return-path: Received: from mail-out2.uio.no ([129.240.10.58]:38070 "EHLO mail-out2.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724AbZDAXdo (ORCPT ); Wed, 1 Apr 2009 19:33:44 -0400 In-Reply-To: <20090401160241.ec2f4573.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 2009-04-01 at 16:02 -0700, Andrew Morton wrote: > What is "the problem"? Can we get "the problem"'s description included > in the changelog? > > The patch is fairly ugly, somewhat costly and makes things (even) more > complex. Sigh. The problem is that currently, pages can be marked as dirty after they have been written out, or even during writeout. IOW: the filesystem and the mm no longer agree on the state of the page, which again triggers issues such as http://bugzilla.kernel.org/show_bug.cgi?id=12913 Trond