Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Aw: Re: Setting mtime doesn't work after copying a file with mmap

In article <>,
Carsten Kunze  <> wrote:
>Brett Lymn <> 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

How often should it be updated?


Home | Main Index | Thread Index | Old Index