All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: kdevops@lists.linux.dev
Cc: linux-btrfs@vger.kernel.org, Luis Chamberlain <mcgrof@kernel.org>
Subject: [PATCH kdevops] xfs: update expunges with two new crashes one related to btrfs sparse files
Date: Thu, 11 Apr 2024 16:47:42 -0700	[thread overview]
Message-ID: <20240411234743.3464688-1-mcgrof@kernel.org> (raw)

One is already known, the other one seems new, and it is triggerable
by using sparse files on a btrfs partition for testing xfs on test
generic/476 (no SOAK_DURATION needed), so the bug is specific to btrfs.
The bug is triggered on the btrfs-endio-write btrfs_work_helper
workqueue and hits BUG_ON() on a dad page state on the call
btrfs_release_extent_buffer_pages() [0].

We've done extensive testing of XFS on v6.6-rc5 and recently we moved
to v6.8, and so this could be an issue introduced on v6.7 or v6.8.

[0] https://gist.github.com/mcgrof/76e026ca48b95922a365be3502fddf45

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---

This is a kdevops specific expunge patch, but I figured btrfs folks
would be interested about hearing about this btrfs crash. Hopefully the
above sumarizes enough to enable to folks who may want to reproduce to
give it a shot. I am not yet sure of the failure rate as I just ran into
it on my first shot on v6.8.

A fix for the xfs specifically triggered fsstress + compaction crash is
already on my radar but documenting it for posterity.

 .../fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_4k.txt | 1 +
 .../expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt | 1 +
 .../fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_4k.txt | 1 +
 .../expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt | 1 +
 4 files changed, 4 insertions(+)

diff --git a/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_4k.txt b/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
index 5b12210a6194..12d6702668ab 100644
--- a/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
+++ b/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
@@ -6,6 +6,7 @@ generic/269 # F:1/11
 generic/297
 generic/298
 generic/388 # Hangs. SOAK_DURATION=9900
+generic/447 # korg#218227 fsstress + compaction
 generic/455 # F:1/8
 generic/471
 generic/482 # F:1/4
diff --git a/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt b/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
index 1fb67ccacd81..aee7b603c9f2 100644
--- a/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
+++ b/workflows/fstests/expunges/6.8.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
@@ -8,6 +8,7 @@ generic/388 # Hangs. SOAK_DURATION=9900
 generic/455 # F:1/12
 generic/457 # F:1/6
 generic/471
+generic/476 # Bad page state in workqueue btrfs-endio-write btrfs_work_helper SOAK_DURATION=9900 https://gist.github.com/mcgrof/76e026ca48b95922a365be3502fddf45
 generic/482 # metadata corruption: https://gist.github.com/dagmcr/9fc650327b2dafd89fabd45ede0a932d
 generic/648 # https://gist.githubusercontent.com/dagmcr/447a5030dde1f91206604f1b8ee9d2a5/raw/6c8568284b6c5c05920a132c73c67fd86dcbe6f8/gistfile1.txt
 generic/670
diff --git a/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_4k.txt b/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
index 5b12210a6194..12d6702668ab 100644
--- a/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
+++ b/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_4k.txt
@@ -6,6 +6,7 @@ generic/269 # F:1/11
 generic/297
 generic/298
 generic/388 # Hangs. SOAK_DURATION=9900
+generic/447 # korg#218227 fsstress + compaction
 generic/455 # F:1/8
 generic/471
 generic/482 # F:1/4
diff --git a/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt b/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
index 1fb67ccacd81..aee7b603c9f2 100644
--- a/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
+++ b/workflows/fstests/expunges/6.9.0-rc2/xfs/unassigned/xfs_reflink_stripe_len.txt
@@ -8,6 +8,7 @@ generic/388 # Hangs. SOAK_DURATION=9900
 generic/455 # F:1/12
 generic/457 # F:1/6
 generic/471
+generic/476 # Bad page state in workqueue btrfs-endio-write btrfs_work_helper SOAK_DURATION=9900 https://gist.github.com/mcgrof/76e026ca48b95922a365be3502fddf45
 generic/482 # metadata corruption: https://gist.github.com/dagmcr/9fc650327b2dafd89fabd45ede0a932d
 generic/648 # https://gist.githubusercontent.com/dagmcr/447a5030dde1f91206604f1b8ee9d2a5/raw/6c8568284b6c5c05920a132c73c67fd86dcbe6f8/gistfile1.txt
 generic/670
-- 
2.43.0


                 reply	other threads:[~2024-04-11 23:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240411234743.3464688-1-mcgrof@kernel.org \
    --to=mcgrof@kernel.org \
    --cc=kdevops@lists.linux.dev \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.