diff options
author | Daniel Hill <daniel@gluo.nz> | 2022-03-15 21:36:33 +1300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-21 13:17:41 -0400 |
commit | f4e73b27cd4fa6b7594ee7de2ed5f4fe5a5c515f (patch) | |
tree | 211fb8d2e7d6fc07423f1f77c36babf6ed867d42 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d7201c3aafeaa4a3a20fd53b294d06f84b73eec1 (diff) |
bcachefs: Add persistent counters
This adds a new superblock field for persisting counters
and adds a sysfs interface in counters/ exposing these counters.
The superblock field is ignored by older versions letting us avoid
an on disk version bump.
Each sysfs file outputs a counter that tracks since filesystem
creation and a counter for the current mount session.
Signed-off-by: Daniel Hill <daniel@gluo.nz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions