From 991ba0211290884df42f9506499aba7e933a2bb8 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 10 Dec 2021 15:41:38 -0500 Subject: 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 --- fs/bcachefs/fs-common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/fs-common.c') 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; -- cgit v1.2.3