diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-10 15:41:38 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:18 -0400 |
commit | 991ba0211290884df42f9506499aba7e933a2bb8 (patch) | |
tree | fa9a222954b283f2ae2000714f9c6524f12e1ce6 /fs/bcachefs/journal_types.h | |
parent | f44906775981e368b77474f0c0750e9d1a4f229b (diff) | |
download | linux-stable-991ba0211290884df42f9506499aba7e933a2bb8.tar.gz linux-stable-991ba0211290884df42f9506499aba7e933a2bb8.tar.bz2 linux-stable-991ba0211290884df42f9506499aba7e933a2bb8.zip |
bcachefs: Add more time_stats
This adds more latency/event measurements and breaks some apart into
more events. Journal writes are broken apart into flush writes and
noflush writes, btree compactions are broken out from btree splits,
btree mergers are added, as well as btree_interior_updates - foreground
and total.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
-rw-r--r-- | fs/bcachefs/journal_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index 9f59e4889f52..0c4df603280d 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -271,8 +271,8 @@ struct journal { u64 nr_flush_writes; u64 nr_noflush_writes; - struct bch2_time_stats *write_time; - struct bch2_time_stats *delay_time; + struct bch2_time_stats *flush_write_time; + struct bch2_time_stats *noflush_write_time; struct bch2_time_stats *blocked_time; struct bch2_time_stats *flush_seq_time; |