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 <37651842.330557.1449661633526.JavaMail.ngmail%webmail09.arcor-online.net@localhost>,
Carsten Kunze  <carsten.kunze%arcor.de@localhost> wrote:
>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?

How often should it be updated?

christos



Home | Main Index | Thread Index | Old Index