commit | 8e3f913e2ab6ac2cb9e75a0a8635d0b44f838c33 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Fri Mar 18 00:42:09 2022 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:51 2023 -0400 |
tree | 935cb6aa90e9ef93b1508be5f0c81f2f06ad8c3f | |
parent | a8c752bb1d93a24a0de753e209d4f4d58d65c878 [diff] |
bcachefs: Copygc now uses backpointers Previously, copygc needed to walk the entire extents & reflink btrees to find extents that needed to be moved. Now that we have backpointers, this patch implements bch2_evacuate_bucket() in the move code, which copygc now uses for evacuating mostly empty buckets. Also, thanks to the new backpointers code, copygc can now move btree nodes. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>