The culprit is periodic_update_active_connection_timestamps() which is being called every 300 seconds because of:
/* Update timestamps in active connections */ priv->timestamp_update_id = g_timeout_add_seconds (300, (GSourceFunc) periodic_update_active_connection_timestamps, manager);
in nm_manager_init(). Note from the strace output that this does a fsync() before the close() which is a little bit brutal. Is this data so critical that we need to force a fsync?
The culprit is periodic_ update_ active_ connection_ timestamps( ) which is being called every 300 seconds because of:
/* Update timestamps in active connections */
priv-> timestamp_ update_ id = g_timeout_ add_seconds (300, (GSourceFunc) periodic_ update_ active_ connection_ timestamps, manager);
in nm_manager_init(). Note from the strace output that this does a fsync() before the close() which is a little bit brutal. Is this data so critical that we need to force a fsync?