summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2016-10-04 17:13:21 +0200
committerFranck Bui <fbui@suse.com>2016-10-19 09:53:07 +0200
commit266a470005c65851bb5cf6ab6fc1bb0828456ae2 (patch)
tree42c482d1e99617d386d40bdb9f0326afed79f1de /docs
parente0ed6db9cdde5ee64fb91f131beb0aa1690bc59a (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 'docs')
0 files changed, 0 insertions, 0 deletions