journal: cache used vfs stats as well
authorFranck Bui <fbui@suse.com>
Wed, 12 Oct 2016 06:58:04 +0000 (08:58 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 19 Oct 2016 07:53:07 +0000 (09:53 +0200)
commit23aba343498f3cbe0bdce6c841a0c34339d1be90
tree86a002a1a01ce9b8b670e036c5a1232eee9f8fbb
parent18e758bf25d49ec7af589df9a2a4e6c905281a4e
journal: cache used vfs stats as well

The set of storage space values we cache are calculated according to a couple
of filesystem statistics (free blocks, block size).

This patch caches the vfs stats we're interested in so these values are
available later and coherent with the rest of the space cached values.
src/journal/journald-server.c
src/journal/journald-server.h