From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754796AbWLSA3R (ORCPT ); Mon, 18 Dec 2006 19:29:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754797AbWLSA3R (ORCPT ); Mon, 18 Dec 2006 19:29:17 -0500 Received: from smtp.osdl.org ([65.172.181.25]:35180 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754796AbWLSA3Q (ORCPT ); Mon, 18 Dec 2006 19:29:16 -0500 Date: Mon, 18 Dec 2006 16:29:01 -0800 (PST) From: Linus Torvalds To: Andrei Popa cc: Alessandro Suardi , Peter Zijlstra , Andrew Morton , Linux Kernel Mailing List , Hugh Dickins , Florian Weimer , Marc Haber , Martin Michlmayr Subject: Re: 2.6.19 file content corruption on ext3 In-Reply-To: <1166487191.6869.1.camel@localhost> Message-ID: References: <1166314399.7018.6.camel@localhost> <1166466272.10372.96.camel@twins> <1166468651.6983.6.camel@localhost> <1166471069.6940.4.camel@localhost> <1166476297.6862.1.camel@localhost> <5a4c581d0612181400t347fc9efx69e55efb3ef40c45@mail.gmail.com> <1166487191.6869.1.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Dec 2006, Andrei Popa wrote: > > the corrupted file has a chink full with zeros > > http://193.226.119.62/corruption0.jpg > http://193.226.119.62/corruption1.jpg Thanks. Yup, filled with zeroes, and the corruption stops (but does _not_ start) at a page boundary. That _does_ look very much like it was filled in linearly, then written out to disk when it was in the middle of the page, and then we simply lost the further writes that should also have gone on to that page. All consistent with dropping a dirty bit somewhere in the middle of the page updates. Which we kind of knew must be the issue anyway, but it's good to know that the corruption pattern is consistent with what we're trying to figure out. Linus