[Bug 195972] New: mmap write (to a zfs filesystem) does not update file modification time

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 14 17:58:01 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195972

            Bug ID: 195972
           Summary: mmap write (to a zfs filesystem) does not update file
                    modification time
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: la5lbtyi at aon.at

Scenario:
  - amd64 machine
  - a program mmaps a file of approximately 250G size and writes to various
locations

Result:
  - The program exits cleanly
  - The data has been written (this has been verified)
  - The file's modification time has *not* changed

Expected result:
  - The file's modification time reflects the time of the last write to the
file.

Notes:
  - This worked correctly on FreeBSD 9.2, with the exact same program binary
(no recompile since).
  - The binary only links against /lib/libc.so.7.
  - There has even been a reboot of the machine, and the file's modification
time still has not changed although the data has been written.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list