bcachefs: struct bch_extent_rebalance
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 27 Jun 2023 23:02:17 +0000 (19:02 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:05 +0000 (17:10 -0400)
commit2766876d5d118abd59d14fbe5b31e7e208ea11f2
tree8b12ea230e8b3bb2a8c58e78b2d7bfdb9247458e
parent4e1430a728499ce8088e1bdd0dd6467ce3447ca0
bcachefs: struct bch_extent_rebalance

This adds the extent entry for extents that rebalance needs to do
something with.

We're adding this ahead of the main rebalance_work patchset, because
adding new extent entries can't be done in a forwards-compatible way.

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