From: Linus Torvalds Subject: Re: [RFC PATCH 0/3] Stop clearing uptodate flag on write IO error Date: Mon, 16 Jan 2012 16:59:41 -0800 Message-ID: References: <1325774407-28531-1-git-send-email-jack@suse.cz> <20120116160136.GC16431@quack.suse.cz> <20120117003613.GA28571@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, Andrew Morton , Christoph Hellwig , Al Viro , LKML , Edward Shishkin To: Dave Chinner Return-path: Received: from mail-wi0-f174.google.com ([209.85.212.174]:54795 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013Ab2AQBAE (ORCPT ); Mon, 16 Jan 2012 20:00:04 -0500 In-Reply-To: <20120117003613.GA28571@dastard> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Jan 16, 2012 at 4:36 PM, Dave Chinner wrote: > > Jan is right, Linus. His definition of what up-to-date means for > dirty buffers is correct, especially in the case of write errors. It's not a dirty buffer any more. Go look. We've long since cleared the dirty bit. So stop spouting garbage. My argument is simple: the contents ARE NOT CORRECT ENOUGH to be called "up-to-date and clean". And I outlined the two choices: - mark it dirty and continue trying to write it out forever - invalidate it. Anything else is crazy talk. And marking it dirty forever isn't really an option. So.. Linus