btrfs-progs: extent tree v2 global root support prep work
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/213 patches 2 repliesIn review
- v2 posting 1/220 patches 1 replySuperseded
- v122 patches 1 replySuperseded
Changes in v2 from the cover letter
- Added a "btrfs-progs: check: fix set_extent_dirty range" which I discovered when adding the next part of the changes.
- Dropped all of the global root stuff, pushing it into the extent tree v2 specific changes.
- Reworked the super block root helper to take a level as suggested by Qu.
Patches in v2 posting 2/2 No applies recorded yet
Reviews trailers per patch
6 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo | Anand Jain |
|---|---|---|
| 1/13 | ||
| 2/13 | R-b | R-b |
| 3/13 | R-b | |
| 4/13 | R-b | |
| 5/13 | ||
| 6/13 | R-b | |
| 7/13 | R-b | |
| 8/13 | ||
| 9/13 | R-b | |
| 10/13 | ||
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/13] btrfs-progs: extent tree v2 global root support prep work
v1->v2:
- Added a "btrfs-progs: check: fix set_extent_dirty range" which I discovered when adding the next part of the changes.
- Dropped all of the global root stuff, pushing it into the extent tree v2 specific changes.
- Reworked the super block root helper to take a level as suggested by Qu.
--- Original email ---
Hello,
This is a series of patches to do all the prep work needed to support extent tree v2. These patches are independent of the actual extent tree v2 support, some of them are fixes, some of them are purely to pave the way for the global root support. These patches are mostly around stopping direct access of ->extent_root/->csum_root/->free_space_root, putting these roots into a rb_tree, and changing the code to look up the roots in the rb_tree instead of accessing them directly. There are a variety of fixes to help make this easier, mostly removing access to these roots that are strictly necessary. Thanks,
Josef
Josef Bacik (13):
btrfs-progs: check: fix set_extent_dirty range
btrfs-progs: simplify btrfs_make_block_group
btrfs-progs: check: don't walk down non fs-trees for qgroup check
btrfs-progs: filesystem-show: close ctree once we're done
btrfs-progs: add a helper for setting up a root node
btrfs-progs: btrfs-shared: stop passing root to csum related functions
btrfs-progs: check: stop passing csum root around
btrfs-progs: stop accessing ->csum_root directly
btrfs-progs: image: keep track of seen blocks when walking trees
btrfs-progs: common: move btrfs_fix_block_accounting to repair.c
btrfs-progs: check: abstract out the used marking helpers
btrfs-progs: check: move btrfs_mark_used_tree_blocks to common
btrfs-progs: mark reloc roots as used
btrfs-corrupt-block.c | 2 +- check/main.c | 37 ++++---- check/mode-common.c | 124 ++----------------------- check/qgroup-verify.c | 4 + cmds/filesystem.c | 19 ++-- cmds/rescue-chunk-recover.c | 17 ++-- common/repair.c | 176 ++++++++++++++++++++++++++++++++++++ common/repair.h | 3 + convert/main.c | 2 +- image/main.c | 12 +++ kernel-shared/ctree.h | 8 +- kernel-shared/disk-io.c | 101 +++++++++++++-------- kernel-shared/disk-io.h | 2 +- kernel-shared/extent-tree.c | 117 ++++-------------------- kernel-shared/file-item.c | 6 +- mkfs/main.c | 3 +- mkfs/rootdir.c | 2 +- 17 files changed, 326 insertions(+), 309 deletions(-)
Signature · 1 line
2.26.3