journal: make sure to initially populate the space info cache (#4807)

System Internals / systemd - Franck Bui [suse.com] - 2 December 2016 11:40 UTC

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

3099caf journal: make sure to initially populate the space info cache (#4807)
src/journal/journald-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: github.com


  • Share