linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [BUG]2.6.27.y some contents lost after writing to mmaped file
@ 2009-11-16  3:38 JiSheng Zhang
  2009-11-17  1:56 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: JiSheng Zhang @ 2009-11-16  3:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, stable, gregkh

Hi,

I triggered a failure in an fs test with fsx-linux from ltp. It seems that
fsx-linux failed at mmap->write sequence.

Tested kernel is 2.6.27.12 and 2.6.27.39
Tested file system: ext3, tmpfs.
IMHO, it impacts all file systems.

Some fsx-linux log is:

READ BAD DATA: offset = 0x2771b, size = 0xa28e
OFFSET  GOOD    BAD     RANGE
0x287e0 0x35c9  0x15a9     0x80
operation# (mod 256) for the bad datamay be 21
...
7828: 1257514978.306753 READ     0x23dba thru 0x25699 (0x18e0 bytes)
7829: 1257514978.306899 MAPWRITE 0x27eeb thru 0x2a516 (0x262c bytes)
 ******WWWW
7830: 1257514978.307504 READ     0x2771b thru 0x319a8 (0xa28e bytes)
 ***RRRR***
Correct content saved for comparison
...

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-11-20  3:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16  3:38 [BUG]2.6.27.y some contents lost after writing to mmaped file JiSheng Zhang
2009-11-17  1:56 ` Greg KH
2009-11-17 11:07   ` JiSheng Zhang
2009-11-17 12:36   ` Chris Mason
2009-11-17 19:06     ` Jan Kara
2009-11-18 14:17       ` JiSheng Zhang
2009-11-19 14:43         ` Jan Kara
2009-11-19 15:25         ` Russell King - ARM Linux
2009-11-20  3:41         ` JiSheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox