bcachefs: bch2_copygc_dev_wait_amount()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 8 May 2025 18:24:12 +0000 (14:24 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:50 +0000 (20:14 -0400)
commit1dfa01ef24151547a2a622e90ad73b082b1bc739
tree1994da29d507f535850869a7707ed90a1e961e4d
parent970dde8271b607876bfdbb66b941ffda35e74973
bcachefs: bch2_copygc_dev_wait_amount()

Factor out the per-device calculations, for better introspection.

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