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 ESMTP id 1C7CE6B0055 for ; Thu, 19 Mar 2009 13:06:35 -0400 (EDT) Date: Thu, 19 Mar 2009 18:06:30 +0100 From: Jan Kara Subject: Re: ftruncate-mmap: pages are lost after writing to mmaped file. Message-ID: <20090319170630.GA9119@duck.suse.cz> References: <604427e00903181244w360c5519k9179d5c3e5cd6ab3@mail.gmail.com> <200903200248.22623.nickpiggin@yahoo.com.au> <200903200334.55710.nickpiggin@yahoo.com.au> <20090319170340.GC3899@duck.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090319170340.GC3899@duck.suse.cz> Sender: owner-linux-mm@kvack.org To: Linus Torvalds Cc: Nick Piggin , Ying Han , Jan Kara , Andrew Morton , linux-kernel , linux-mm , guichaz@gmail.com, Alex Khesin , Mike Waychison , Rohit Seth , Peter Zijlstra List-ID: On Thu 19-03-09 18:03:40, Jan Kara wrote: > On Thu 19-03-09 09:51:59, Linus Torvalds wrote: > > > > > > On Fri, 20 Mar 2009, Nick Piggin wrote: > > > > > > Yeah, probably no need to hold private_lock while tagging the radix > > > tree (which is what my version did). So maybe this one is a little > > > better. I did test mine, it worked, but it didn't solve the problem. > > > > Ahh, so you re-created it? On ext2 only, or is it visible on ext3 as well? > > I've not even tested - I assumed that I would have to boot into less > > memory and downgrade my filesystem to ext2, which made me hope somebody > > else would pick it up first ;) > In thread http://lkml.org/lkml/2009/3/4/179 I've reported similar problem > - write lost. I'm able to reproduce under UML linux at will. ext3 takes > with 1KB blocksize about 20 minutes to hit the corruption, ext2 with 1 KB > blocksize about an hour, ext2 with 4KB blocksize several hours... And BTW HP is reporting to us a similarly looking problem on reiserfs on ia64 with SLE11 (2.6.27 based). But that takes several days to reproduce with their proprietary test suite. Honza -- 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/ . Don't email: email@kvack.org