lkml.org 
[lkml]   [2009]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ftruncate-mmap: pages are lost after writing to mmaped file.
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...
I've reported that also ordinary write() got lost once but that might
have been an error in me reading the fsx logs since I never saw it again...

Honza

--
Jan Kara <jack@suse.cz>
SUSE Labs, CR


\
 
 \ /
  Last update: 2009-03-19 18:07    [W:0.846 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site