After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686001 - DConf should not fsync for some keys
DConf should not fsync for some keys
Status: RESOLVED OBSOLETE
Product: dconf
Classification: Core
Component: gsettings backend
0.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-11 22:25 UTC by Jonathan Briggs
Modified: 2018-09-21 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Briggs 2012-10-11 22:25:00 UTC
Some dconf keys are so utterly trivial and yet written so often that they should never sync to disk. Especially on laptops. Especially on laptops that are trying to keep the disk spun down for power savings.

One example is the key that stores the num-lock state. This is a very trivial setting that no one sane would care about if it got lost. (And I'm shocked anyone even thought this was something useful to record!) And yet, anyone who types with occasional use of caps-lock (and why does caps-lock trigger writing the num-lock state?) will be forcing a drive spin-up just to record that fact.

So I propose some method to mark DConf keys with an importance or persistence value. Important data would be synced with disk. Unimportant data would be left in RAM or written without sync.
Comment 1 Allison Karlitskaya (desrt) 2012-10-24 07:07:27 UTC
Would be good to fix the issue of numlock state being updated when you press capslock...
Comment 2 Allison Karlitskaya (desrt) 2013-01-02 19:37:15 UTC
This is unlikely to be fixed any time soon but it gets talked about enough that I have to wonder if maybe it would be nice to eventually address it.

I'll leave it open for that reason....
Comment 3 GNOME Infrastructure Team 2018-09-21 16:12:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf/issues/8.