Kent Overstreet
f6240723f7
bcachefs: Move bch_extent_rebalance code to rebalance.c
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-12-08 23:56:15 -05:00
Kent Overstreet
a5fe1d1656
bcachefs: New bch_extent_rebalance fields
...
- Add more io path options to bch_extent_rebalance
- For each option, track whether it came from the filesystem or the
inode
This will be used for improved rebalance support for reflinked data.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-12-08 23:56:15 -05:00
Kent Overstreet
bdad263284
bcachefs: io_opts_to_rebalance_opts()
...
New helper to simplify bch2_bkey_set_needs_rebalance()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-12-08 23:56:14 -05:00
Kent Overstreet
875a3128db
bcachefs: rename bch_extent_rebalance fields to match other opts structs
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-12-08 23:56:14 -05:00
Kent Overstreet
8d52ba60c4
bcachefs: reflink_format.h
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-21 13:27:11 -05:00
Kent Overstreet
b2fa1b633b
bcachefs; extents_format.h
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-21 13:27:11 -05:00