Mailinglist Archive: opensuse-bugs (8114 mails)

< Previous Next >
[Bug 206431] time stamp of mmaped file not updated
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 23 Feb 2007 05:58:37 -0700 (MST)
  • Message-id: <20070223125837.C6BBDDA6@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=206431





------- Comment #14 from yxu@xxxxxxxxxx 2007-02-23 05:58 MST -------
hm... the patch against 2.16.20 kernel doesn't work well.

I tried with two machines: ia64 machine e45 with 2.6.20-5-default kernel and
x86_64 machine quake110 with 2.6.20-4-default kernel. Both failed. Example
output:

quake110:/tmp/ltp/ltp-full-20061222/testcases/open_posix_testsuite/conformance/interfaces/mmap
# ./14-1
Time before write(): 1172235079
Time before mmap(): 1172235080
Time before write reference: 1172235081
Time before msync(): 1172235082
ctime1: 1172235079, ctime2: 1172235079
mtime1: 1172235079, mtime2: 1172235079
Test Fail mmap/14-1.c st_ctime and st_mtime were not updated properly
quake110:/tmp/ltp/ltp-full-20061222/testcases/open_posix_testsuite/conformance/interfaces/mmap
# ./mmap_14_1-debug
before mmap ctime00: 1172235087, mtime00: 1172235087
pa, pa, off, size: efd85000 a 0 400
pa: a a a
after mmap ctime0: 1172235087, mtime0: 1172235087
pa: b a a
pa: b a a
after msync ctime1: 1172235087, mtime1: 1172235087
pa: c a a
pa: c a a
after 2nd msync ctime2: 1172235087, mtime2: 1172235087
pa: c a a
pa: c a a
after 3rd msync ctime02: 1172235090, mtime02: 1172235090
after munmap ctime3: 1172235090, mtime3: 1172235090

I will attach strace of it.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >