Comment 2 for bug 913856

Revision history for this message
Colin Ian King (colin-king) wrote :

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?