bcachefs: Split out accounting in transaction commit
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 17 May 2025 00:26:01 +0000 (20:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:15:06 +0000 (20:15 -0400)
commite8f9992b0aab188ce37ef011a3ec8613f02d05aa
tree048e6270043f2d82087ee3d347ede281495a6f18
parent247abee6ae6d2c6f283857b16fbf4bf201e72061
bcachefs: Split out accounting in transaction commit

There can be a lot of rendundancy in accounting updates within a single
btree transaction.

Split out accounting updates so that they can be deduped, in the next
commit.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_trans_commit.c
fs/bcachefs/btree_types.h
fs/bcachefs/btree_update.h
fs/bcachefs/disk_accounting.c
fs/bcachefs/disk_accounting.h
fs/bcachefs/recovery.c