linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs: fix generic/475 hang
@ 2023-07-20 20:12 Josef Bacik
  2023-07-20 20:12 ` [PATCH 1/3] btrfs: wait for block groups to finish caching during allocation Josef Bacik
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Josef Bacik @ 2023-07-20 20:12 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

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(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-27 16:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 20:12 [PATCH 0/3] btrfs: fix generic/475 hang Josef Bacik
2023-07-20 20:12 ` [PATCH 1/3] btrfs: wait for block groups to finish caching during allocation Josef Bacik
2023-07-20 22:21   ` Boris Burkov
2023-07-20 20:12 ` [PATCH 2/3] btrfs: move comments to btrfs_loop_type definition Josef Bacik
2023-07-20 22:28   ` Boris Burkov
2023-07-27 16:32   ` David Sterba
2023-07-20 20:12 ` [PATCH 3/3] btrfs: cycle through the RAID profiles as a last resort Josef Bacik
2023-07-20 22:28   ` Boris Burkov
2023-07-21  1:07     ` Josef Bacik
2023-07-25 14:37   ` kernel test robot
2023-07-21  7:36 ` [PATCH 0/3] btrfs: fix generic/475 hang Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).