Skip to content

btrfs-progs: enhance error handling of __free_extent()

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: do not dump leaf if the path is released inside __free_extent()kernel-shared/extent-tree.c+4 -20 replies
2/2btrfs-progs: btrfs: refactor the error handling of __free_extent()kernel-shared/extent-tree.c+72 -780 replies

Reviews trailers per patch

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

PatchBoris Burkov
SeriesR-b
1/2
2/2

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/2] btrfs-progs: enhance error handling of __free_extent()

There is a github bug report about btrfs-convert crash, where btrfs_print_leaf() is called on NULL path->nodes[0].

The first patch fix the bug by cross-port a fix from kernel part.

The second patch refactor the error handling of __free_extent(), mostly follow the kernel patch "btrfs: refactor the error handling of __btrfs_free_extent()".

Qu Wenruo (2):
btrfs-progs: do not dump leaf if the path is released inside

    __free_extent()

btrfs-progs: btrfs: refactor the error handling of __free_extent()

 kernel-shared/extent-tree.c | 154 ++++++++++++++++++------------------
 1 file changed, 75 insertions(+), 79 deletions(-)

--
2.52.0