Skip to content

btrfs: free space tree fixes and cleanups

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix failure to rebuild free space tree using multiple transactionsfs/btrfs/block-group.h fs/btrfs/free-space-tree.c+42 -00 replies
2/3btrfs: always abort transaction on failure to add block group to free space treefs/btrfs/free-space-tree.c+9 -70 replies
3/3btrfs: check BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE at __add_block_group_free_space()fs/btrfs/free-space-tree.c+28 -304 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris Burkov
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs: free space tree fixes and cleanups

From: Filipe Manana <[email protected]>

Fix a regression when rebuilding a free space tree, reported by syzbot, ensure transaction aborts where critical when adding a new block group to the free space tree, and a cleanup. Details in the changelogs.

Filipe Manana (3):
btrfs: fix failure to rebuild free space tree using multiple transactions
btrfs: always abort transaction on failure to add block group to free space tree
btrfs: check BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE at __add_block_group_free_space()

 fs/btrfs/block-group.h     |   2 +
 fs/btrfs/free-space-tree.c | 110 +++++++++++++++++++++++++------------
 2 files changed, 77 insertions(+), 35 deletions(-)
Signature · 1 line
2.47.2