diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-08-27 12:48:36 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:39 -0400 |
commit | 674cfc26240b7807f078a23a4f04681ccae49b02 (patch) | |
tree | 16927f0b64915bb2aa8f3e4ff441712dfd783a8b /fs/bcachefs/super-io.c | |
parent | d97e6aaed60a9c2c727cce2979ca311fe232163f (diff) | |
download | lwn-674cfc26240b7807f078a23a4f04681ccae49b02.tar.gz lwn-674cfc26240b7807f078a23a4f04681ccae49b02.zip |
bcachefs: Add persistent counters for all tracepoints
Also, do some reorganizing/renaming, convert atomic counters in bch_fs
to persistent counters, and add a few missing counters.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super-io.c')
-rw-r--r-- | fs/bcachefs/super-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c index 48ad158637e5..4953f54e94d6 100644 --- a/fs/bcachefs/super-io.c +++ b/fs/bcachefs/super-io.c @@ -801,7 +801,7 @@ int bch2_write_super(struct bch_fs *c) unsigned degraded_flags = BCH_FORCE_IF_DEGRADED; int ret = 0; - trace_write_super(c, _RET_IP_); + trace_and_count(c, write_super, c, _RET_IP_); if (c->opts.very_degraded) degraded_flags |= BCH_FORCE_IF_LOST; |