diff options
author | Franck Bui <fbui@suse.com> | 2016-10-04 17:13:21 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2016-10-19 09:53:07 +0200 |
commit | 266a470005c65851bb5cf6ab6fc1bb0828456ae2 (patch) | |
tree | 42c482d1e99617d386d40bdb9f0326afed79f1de /src/shared/sleep-config.h | |
parent | e0ed6db9cdde5ee64fb91f131beb0aa1690bc59a (diff) |
journal: introduce JournalStorage and JournalStorageSpace structures
This structure keeps track of specificities for a given journal type
(persistent or volatile) such as metrics, name, etc...
The cached space values are now moved in this structure so that each
journal has its own set of cached values.
Previously only one set existed and we didn't know if the cached
values were for the runtime journal or the persistent one.
When doing:
determine_space_for(s, runtime_metrics, ...);
determine_space_for(s, system_metrics, ...);
the second call returned the cached values for the runtime metrics.
Diffstat (limited to 'src/shared/sleep-config.h')
0 files changed, 0 insertions, 0 deletions