btrfs: backref cache cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | btrfs: convert BUG_ON in btrfs_reloc_cow_block to proper error handlingfs/ | +14 | 1 reply | |
| 2/10 | btrfs: remove the changed list for backref cachefs/ fs/ fs/ | +8 | 0 replies | |
| 3/10 | btrfs: add a comment for new_bytenr in bacref_cache_nodefs/ | +6 | 1 reply | |
| 4/10 | btrfs: cleanup select_reloc_rootfs/ | +61 | 1 reply | |
| 5/10 | btrfs: remove clone_backref_nodefs/ | +1 | 0 replies | |
| 6/10 | btrfs: don't build backref tree for cowonly blocksfs/ | +70 | 1 reply | |
| 7/10 | btrfs: do not handle non-shareable roots in backref cachefs/ fs/ fs/ | +36 | 0 replies | |
| 8/10 | btrfs: simplify btrfs_backref_release_cachefs/ | +2 | 0 replies | |
| 9/10 | btrfs: remove the ->lowest and ->leaves members from backref cachefs/ fs/ fs/ | +0 | 0 replies | |
| 10/10 | btrfs: remove detached list from btrfs_backref_cachefs/ fs/ fs/ | +0 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Boris Burkov |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] btrfs: backref cache cleanups
Hello,
This is the followup to the relocation fix that I sent out earlier. This series cleans up a lot of the complicated things that exist in backref cache because we were keeping track of changes to the file system during relocation. Now that we do not do this we can simplify a lot of the code and make it easier to understand. I've tested this with the horror show of a relocation test I was using to trigger the original problem. I'm running fstests now via the CI, but this seems solid. Hopefully this makes the relocation code a bit easier to understand. Thanks,
Josef
Josef Bacik (10):
btrfs: convert BUG_ON in btrfs_reloc_cow_block to proper error
handling
btrfs: remove the changed list for backref cache
btrfs: add a comment for new_bytenr in bacref_cache_node
btrfs: cleanup select_reloc_root
btrfs: remove clone_backref_node
btrfs: don't build backref tree for cowonly blocks
btrfs: do not handle non-shareable roots in backref cache
btrfs: simplify btrfs_backref_release_cache
btrfs: remove the ->lowest and ->leaves members from backref cache
btrfs: remove detached list from btrfs_backref_cache
fs/btrfs/backref.c | 105 +++++------- fs/btrfs/backref.h | 16 +- fs/btrfs/relocation.c | 362 +++++++++++++++++------------------------- 3 files changed, 192 insertions(+), 291 deletions(-)
Signature · 1 line
2.43.0