bcachefs: Copygc no longer uses bucket array
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 25 Dec 2021 08:37:52 +0000 (03:37 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:23 +0000 (17:09 -0400)
commitd73e0d2cd185c313b8a9063b11b3fb91df9db261
treebdd6be1027064a41b39bb445cba48164cae5cb71
parentec061b215d63b5e85ebf1a4ecfae661c01578c2e
bcachefs: Copygc no longer uses bucket array

This converts the copygc code to use the alloc btree directly to find
buckets that need to be evacuated instead of the in-memory bucket array,
which is finally going away soon.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/movinggc.c