[rrd-developers] teting mmap/mtime updates

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Dec 8 14:27:08 CET 2008


On Sun, Dec 07, 2008 at 04:16:01PM -0500, Mark Plaksin wrote:
>Tobias Oetiker <tobi at oetiker.ch> writes:
>
>> Hi,
>>
>> did you have trouble with rrdtool update not updating the timestamp
>> of the rrd file?
>
>Yes :)
>
>>   please test this little bit of c-code
>>
>> does it compain on your platform.
>
>On almost-up-to-date RHEL5 it says:
>
>msync(x,y,MS_ASYNC) does NOT update mtime

I suggest you bug redhat to fix their kernel if you care or use some
distro where this works as mandated by the standard. Debian comes to
mind which works as expected, others may of course work too.



More information about the rrd-developers mailing list