Brett Lymn <[email protected]> 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

Reply via email to