more fine-grained btree node moves
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bcachefs: Plumb target parameter through btree_node_rewrite_pos()fs/ fs/ fs/ +1 more | +30 | 0 replies | |
| 2/4 | bcachefs: plumb btree_id through move_pred_fdfs/ fs/ fs/ | +13 | 0 replies | |
| 3/4 | bcachefs: bch2_move_data_btree() can move btree nodesfs/ fs/ | +23 | 0 replies | |
| 4/4 | bcachefs: bch2_move_data_btree() can now walk rootsfs/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] more fine-grained btree node moves
this tweaks the data move path so we can move specific btree nodes to specific devices
it's for the new image creation tool, which uses it for generating more deterministic disk images.
- create a two device filesystem, with data on one device, journal and btree on a second temporary device
- write out all data
- move the btrees we want to keep to the primary device
- drop temporary device, shrink primary device
Kent Overstreet (4):
bcachefs: Plumb target parameter through btree_node_rewrite_pos()
bcachefs: plumb btree_id through move_pred_fd
bcachefs: bch2_move_data_btree() can move btree nodes
bcachefs: bch2_move_data_btree() can now walk roots
fs/bcachefs/btree_io.c | 2 +- fs/bcachefs/btree_update_interior.c | 37 ++++++---- fs/bcachefs/btree_update_interior.h | 4 +- fs/bcachefs/move.c | 104 ++++++++++++++++++++++------ fs/bcachefs/move.h | 4 +- fs/bcachefs/rebalance.c | 2 +- 6 files changed, 112 insertions(+), 41 deletions(-)
Signature · 1 line
2.49.0