>What do the standards say?
>
>http://www.opengroup.org/onlinepubs/007904975/functions/mmap.html
>
> The st_ctime and st_mtime fields of a file that is mapped with MAP_SHARED
> and PROT_WRITE shall be marked for update at some point in the interval
> between a write reference to the mapped region and the next call to msync() with
> MS_ASYNC or MS_SYNC for that portion of the file by any process. If there is
> no such call and if the underlying file is modified as a result of a write reference,
> then these fields shall be marked for update at some time after the write reference.
That says nothing about a file where the only updates are via mmap. My
file had grown to its final size so there were no more writes, only
pages being dirtied via mmap.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/