Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Aw: Re: Setting mtime doesn't work after copying a file with mmap
Brett Lymn <blymn%internode.on.net@localhost> wrote:
> Try using msync with the invalidate option, that should push the pages
> out to disk.
That works, thank you!
The msync does now block and hence slow down the application, but the sync is an advantage in the special case I use it.
But in general a sync should not be mandatory (for performance reasons). So isn't it a kernel bug that mtime is updated when pages are written back?
Carsten
Home |
Main Index |
Thread Index |
Old Index