From: "Theodore Ts'o" <tytso@mit.edu>
To: Christian Brauner <brauner@kernel.org>
Cc: "Darrick J. Wong" <djwong@kernel.org>,
Linux Filesystem Development List <linux-fsdevel@vger.kernel.org>,
linux-block@vger.kernel.org, fstests@vger.kernel.org
Subject: Re: Flaky test: generic/085
Date: Wed, 12 Jun 2024 15:47:16 +0100 [thread overview]
Message-ID: <20240612144716.GB1906022@mit.edu> (raw)
In-Reply-To: <20240612-abdrehen-popkultur-80006c9e4c8d@brauner>
On Wed, Jun 12, 2024 at 01:25:07PM +0200, Christian Brauner wrote:
> I've been trying to reproduce this with pmem yesterday and wasn't able to.
>
> What's the kernel config and test config that's used?
>
The kernel config can be found here:
https://github.com/tytso/xfstests-bld/blob/master/kernel-build/kernel-configs/config-6.1
Drop it into .config in the build directory of any kernel sources
newer than 6.1, and then run "make olddefconfig". This is all
automated in the install-kconfig script which I use:
https://github.com/tytso/xfstests-bld/blob/master/kernel-build/install-kconfig
The VM has 4 CPU's, and 26GiB of memory, and kernel is booted with the
boot command line options "memmap=4G!9G memmap=9G!14G", which sets up
fake /dev/pmem0 and /dev/pmem1 devices backed by RAM. This is my poor
engineer's way of testing DAX without needing to get access to
expensive VM's with pmem. :-)
I'm assuming this is a timing-dependant bug which is easiest to
trigger on fast devices, so a ramdisk might also work. FWIW, I also
can see failures relatively frequently using the ext4/nojournal
configuration on a SSD-backed cloud block device (GCE's Persistent
Disk SSD product).
As a result, if you grab my xfstests-bld repo from github, and then
run "qemu-xfstests -c ext4/nojournal C 20 generic/085" it should
also reproduce. See the Documentation/kvm-quickstart.md for more details.
- Ted
next prev parent reply other threads:[~2024-06-12 14:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 8:52 Flaky test: generic/085 Theodore Ts'o
2024-06-11 16:37 ` Darrick J. Wong
2024-06-12 11:25 ` Christian Brauner
2024-06-12 14:47 ` Theodore Ts'o [this message]
2024-06-13 9:55 ` Christian Brauner
2024-06-13 17:17 ` Darrick J. Wong
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=20240612144716.GB1906022@mit.edu \
--to=tytso@mit.edu \
--cc=brauner@kernel.org \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox