Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753685AbZFEVld (ORCPT ); Fri, 5 Jun 2009 17:41:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752512AbZFEVlZ (ORCPT ); Fri, 5 Jun 2009 17:41:25 -0400 Received: from mail-fx0-f213.google.com ([209.85.220.213]:60779 "EHLO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752738AbZFEVlY (ORCPT ); Fri, 5 Jun 2009 17:41:24 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gyl4/BO0WUpB3eiXoMtZrlQWYvd7OimQhstWkWsORH8vvlz8QcmsFLf3Iun/x/Aj24 Lp2aPlfj/fvygDxXVZObXonc2ySCf+XTvSTX8AFPwl8OfT0zNjMd/LtzdSLpxATruqUS nDZ7tuNQQpxWzuRPfkxsDrjduvPn1VlPLgHXc= Message-ID: <4A299151.3040109@tuffmail.co.uk> Date: Fri, 05 Jun 2009 22:42:41 +0100 From: Alan Jenkins User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Kay Sievers CC: Eric Sandeen , Aioanei Rares , linux-ext4@vger.kernel.org, Linux Kernel Mailing List Subject: Re: Mild filesystem corruption on ext4 (no journal) References: <4A28F83F.4030704@tuffmail.co.uk> <4A292E61.3050204@gmail.com> <4A293084.5010400@tuffmail.co.uk> <4A2937CC.7070503@redhat.com> <4A294B15.9070209@tuffmail.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 27 Kay Sievers wrote: > On Fri, Jun 5, 2009 at 18:43, Alan Jenkins wrote: > > >> If I remove the corrupted file and copy a "known good" copy into it's place, >> then the corruption doesn't happen. I've verified this a couple of times. >> The corruption only occurs if the file was created by "locale-gen". >> > > Does it use things like: fallocate()? > > Kay > Not quite. Ted says it's already reported as http://bugzilla.kernel.org/show_bug.cgi?id=13292 It includes an strace log which implicates the use of both mmap() and write() on the same file. Sounds scary :-). Alan -- 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/