bcachefs: bucket_alloc_state
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 4 Nov 2022 20:06:55 +0000 (16:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:42 +0000 (17:09 -0400)
commitae10fe017bf54653a61a93e49fac1c3e2b474e20
tree5e9be1ce96f93ae2fc7d7d430a0363d4cd387bc6
parent29cea6f4834b36f6a51832e08218e03b60002a9a
bcachefs: bucket_alloc_state

This refactoring puts our various allocation path counters into a
dedicated struct - the upcoming nocow patch is going to add another
counter.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/alloc_types.h
fs/bcachefs/trace.h