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/fs-common.c | |
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/fs-common.c')
-rw-r--r-- | fs/bcachefs/fs-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/fs-common.c b/fs/bcachefs/fs-common.c index 5f3429e99115..d543480be111 100644 --- a/fs/bcachefs/fs-common.c +++ b/fs/bcachefs/fs-common.c @@ -329,6 +329,7 @@ bool bch2_reinherit_attrs(struct bch_inode_unpacked *dst_u, bool ret = false; for (id = 0; id < Inode_opt_nr; id++) { + /* Skip attributes that were explicitly set on this inode */ if (dst_u->bi_fields_set & (1 << id)) continue; |