]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: make sure to initially populate the space info cache (#4807)
authorFranck Bui <fbui@suse.com>
Fri, 2 Dec 2016 17:40:10 +0000 (18:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 2 Dec 2016 17:40:10 +0000 (18:40 +0100)
commit3099caf2b5bb9498b1d0227c40926435ca81f26f
tree862b3360c230936affb3d4f5c40f64d2f72329e4
parentb200489b2b0ebb45be80fc8168be1f0587ae2bcc
journal: make sure to initially populate the space info cache (#4807)

Make sure to populate the cache in cache_space_refresh() at least once
otherwise it's possible that the system boots fast enough (and the journal
flush service is finished) before the invalidate cache timeout (30 us) has
expired.

Fixes: #4790
src/journal/journald-server.c