Skip to content

btrfs: fix generic/475 hang

Josef Bacik linux-btrfs oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: wait for block groups to finish caching during allocationfs/btrfs/extent-tree.c+13 -71 reply
2/3btrfs: move comments to btrfs_loop_type definitionfs/btrfs/extent-tree.c+33 -92 replies
3/3btrfs: cycle through the RAID profiles as a last resortfs/btrfs/extent-tree.c+5 -42 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBoris Burkov
1/3
2/3R-b
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: fix generic/475 hang

Hello,

With the new GH CI setup we were seeing consistent hangs with generic/475. This was a pretty subtle and unique hang that's described in the first patch. I've included the patch first to make it easier to backport for those who wish to do so, this bug has existed forever, though is really very specific to the use of dmsetup suspend. Before this patch I couldn't make it through 10 loops of generic/475 in my VM, with it I've been running it in a loop for an hour with no problems. The series is currently going through the CI testing, but I feel confident in the fix and explanation. Thanks,

Josef

Josef Bacik (3):
btrfs: wait for block groups to finish caching during allocation
btrfs: move comments to btrfs_loop_type definition
btrfs: cycle through the RAID profiles as a last resort

 fs/btrfs/extent-tree.c | 67 ++++++++++++++++++++++++++++++------------
 1 file changed, 49 insertions(+), 18 deletions(-)
Signature · 1 line
2.41.0