[Bug 911585] changes to mmap()ed files on XFS do not update file's modification time
From the memory management POV mtime is updated from page_mkwrite path. I can see xfs calling block_page_mkwrite from its callback (xfs_vm_page_mkwrite) and
http://bugzilla.novell.com/show_bug.cgi?id=911585 Michal Hocko <mhocko@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhocko@suse.com --- Comment #1 from Michal Hocko <mhocko@suse.com> --- I am not a filesystem expert nor familiar with perl but it might be possible that the mtime was not synced yet because perl didn't flush (msync) the file yet and system does that automatically only after certain (configurable) time. that one calls file_update_time which updates the timestamps for the inode (unless it is marked as S_NOCMTIME which doesn't seem to be the case for xfs). So the mtime is definitely updated. Could you be more specific about what exactly you are doing with the timing, please? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com