From: Su Yue <l@damenly.org>
To: Song Liu <song@kernel.org>
Cc: Benjamin Marzinski <bmarzins@redhat.com>,
Yu Kuai <yukuai1@huaweicloud.com>,
mpatocka@redhat.com, heinzm@redhat.com, xni@redhat.com,
blazej.kucman@linux.intel.com, agk@redhat.com,
snitzer@kernel.org, dm-devel@lists.linux.dev,
jbrassow@f14.redhat.com, neilb@suse.de, shli@fb.com,
akpm@osdl.org, linux-kernel@vger.kernel.org,
linux-raid@vger.kernel.org, yi.zhang@huawei.com,
yangerkun@huawei.com, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: [PATCH v5 00/14] dm-raid/md/raid: fix v6.7 regressions
Date: Mon, 26 Feb 2024 15:58:02 +0800 [thread overview]
Message-ID: <34tfodss.fsf@damenly.org> (raw)
In-Reply-To: <CAPhsuW6VqSRUsB2oQ+Hmf-0+2gfKHgN1skvvUwDmqDOxJvEKtA@mail.gmail.com>
On Fri 09 Feb 2024 at 14:37, Song Liu <song@kernel.org> wrote:
> On Thu, Feb 8, 2024 at 3:17 PM Benjamin Marzinski
> <bmarzins@redhat.com> wrote:
>>
> [...]
>> >
>> > I am not able to get reliable results from
>> > shell/lvconvert-repair-raid.sh
>> > either. For 6.6.0 kernel, the test fails. On 6.8-rc1 kernel,
>> > the test fails
>> > sometimes.
>> >
>> > Could you please share more information about your test
>> > setup?
>> > Specifically:
>> > 1. Which tree/branch/tag are you testing?
>> > 2. What's the .config used in the tests?
>> > 3. How do you run the test suite? One test at a time, or all
>> > of them
>> > together?
>> > 4. How do you handle "test passes sometimes" cases?
>>
>> So, I have been able to recreate the case where
>> lvconvert-repair-raid.sh
>> keeps failing. It happens when I tried running the reproducer
>> on a virtual
>> machine made using a cloud image, instead of one that I
>> manually
>> installed. I'm not sure why there is a difference. But I can
>> show you
>> how I can reliably recreate the errors I'm seeing.
>>
>>
>> Create a new Fedora 39 virtual machine with the following
>> commands (I'm
>> not sure if it is possible to reproduce this on a machine using
>> less
>> memory and cpus, but I can try that if you need me to. You
>> probably also
>> want to pick a faster Fedora Mirror for the image location):
>> # virt-install --name repair-test --memory 8192 --vcpus 8
>> --disk size=40
>> --graphics none --extra-args "console=ttyS0" --osinfo
>> detect=on,name=fedora-unknown --location
>> https://download.fedoraproject.org/pub/fedora/linux/releases/39/Server/x86_64/os/
>>
>
> virt-install doesn't work well in the my daily dev server. I
> will try on a
> different machine.
>
>> Install to the whole virtual drive, using the default LVM
>> partitioning.
>> Then ssh into the VM and run the following commands to setup
>> the
>> lvm2-testsuite and 6.6.0 kernel:
>>
> [...]
>
>>
>> Rerun the lvm2-testsuite with the same commands as before:
>>
>> # mount -o remount,dev /tmp
>
> This mount trick helped me run tests without a full image (use
> CONFIG_9P_FS to reuse host file systems instead). Thanks!
>
>> # cd ~/lvm2
>> # make check T=lvconvert-repair-raid.sh
>>
>> This fails about 20% of the time, usually at either line 146 or
>> 164. You
>> can check by running the following command when the test fails.
>
> However, I am seeing lvconvert-repair-raid.sh passes all the
> time
> with both 6.6 kernel and 6.8+v5 patchset. My host system is
> CentOS 8.
>
shell/lvconvert-repair-raid.sh fails for SLES 15SP5 + upstream
lvm2 +
v6.8+v5 patchset but not with v6.6 kernel.
--
Su
> I guess we will have to run more tests.
>
> DM folks, please also review the set. We won't be able to ship
> the
> dm changes without your thorough reviews.
>
> Thanks,
> Song
next prev parent reply other threads:[~2024-02-26 8:07 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 9:25 [PATCH v5 00/14] dm-raid/md/raid: fix v6.7 regressions Yu Kuai
2024-02-01 9:25 ` [PATCH v5 01/14] md: don't ignore suspended array in md_check_recovery() Yu Kuai
2024-02-16 6:58 ` Xiao Ni
2024-02-18 1:14 ` Yu Kuai
2024-02-18 1:33 ` Xiao Ni
2024-02-18 1:46 ` Yu Kuai
2024-02-18 2:27 ` Xiao Ni
2024-02-18 2:34 ` Yu Kuai
2024-02-18 3:15 ` Xiao Ni
2024-02-18 3:24 ` Yu Kuai
2024-02-18 5:07 ` Xiao Ni
2024-02-18 6:22 ` Yu Kuai
2024-02-18 8:07 ` Xiao Ni
2024-02-18 8:47 ` Yu Kuai
2024-02-19 7:10 ` Xiao Ni
2024-02-19 8:19 ` Yu Kuai
2024-02-01 9:25 ` [PATCH v5 02/14] md: don't ignore read-only " Yu Kuai
2024-02-01 9:25 ` [PATCH v5 03/14] md: make sure md_do_sync() will set MD_RECOVERY_DONE Yu Kuai
2024-02-18 5:56 ` Xiao Ni
2024-02-18 6:51 ` Yu Kuai
2024-02-18 8:41 ` Xiao Ni
2024-02-18 8:59 ` Yu Kuai
2024-02-01 9:25 ` [PATCH v5 04/14] md: don't register sync_thread for reshape directly Yu Kuai
2024-02-28 12:07 ` Xiao Ni
2024-02-28 12:44 ` Yu Kuai
2024-02-28 12:57 ` Xiao Ni
2024-02-01 9:25 ` [PATCH v5 05/14] md: don't suspend the array for interrupted reshape Yu Kuai
2024-02-29 2:10 ` Xiao Ni
2024-02-29 2:14 ` Yu Kuai
2024-02-01 9:25 ` [PATCH v5 06/14] md: fix missing release of 'active_io' for flush Yu Kuai
2024-02-08 7:47 ` Song Liu
2024-02-01 9:25 ` [PATCH v5 07/14] md: export helpers to stop sync_thread Yu Kuai
2024-02-15 22:27 ` Song Liu
2024-02-18 2:35 ` Yu Kuai
2024-02-01 9:25 ` [PATCH v5 08/14] md: export helper md_is_rdwr() Yu Kuai
2024-02-01 9:25 ` [PATCH v5 09/14] dm-raid: really frozen sync_thread during suspend Yu Kuai
2024-02-18 4:53 ` Xiao Ni
2024-02-18 6:34 ` Yu Kuai
2024-02-19 7:27 ` Xiao Ni
2024-02-19 7:53 ` Yu Kuai
2024-02-19 8:45 ` Xiao Ni
2024-02-01 9:25 ` [PATCH v5 10/14] md/dm-raid: don't call md_reap_sync_thread() directly Yu Kuai
2024-02-01 9:25 ` [PATCH v5 11/14] dm-raid: add a new helper prepare_suspend() in md_personality Yu Kuai
2024-02-01 9:25 ` [PATCH v5 12/14] md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape Yu Kuai
2024-02-01 9:25 ` [PATCH v5 13/14] dm-raid: fix lockdep waring in "pers->hot_add_disk" Yu Kuai
2024-02-01 9:25 ` [PATCH v5 14/14] dm-raid: remove mddev_suspend/resume() Yu Kuai
2024-02-03 3:19 ` [PATCH v5 00/14] dm-raid/md/raid: fix v6.7 regressions Benjamin Marzinski
2024-02-04 1:35 ` Yu Kuai
2024-02-04 7:00 ` Yu Kuai
2024-02-05 19:35 ` Benjamin Marzinski
2024-02-06 1:36 ` Yu Kuai
2024-02-06 3:57 ` Benjamin Marzinski
2024-02-06 7:03 ` Yu Kuai
2024-02-08 8:04 ` Song Liu
2024-02-08 23:17 ` Benjamin Marzinski
2024-02-09 22:37 ` Song Liu
2024-02-26 7:58 ` Su Yue [this message]
2024-02-12 22:30 ` Song Liu
2024-02-15 22:24 ` Song Liu
2024-02-16 5:46 ` Benjamin Marzinski
2024-02-18 1:24 ` Yu Kuai
2024-02-19 16:05 ` Benjamin Marzinski
2024-02-20 3:09 ` Yu Kuai
2024-02-22 9:00 ` Yu Kuai
2024-02-28 1:19 ` Benjamin Marzinski
2024-02-28 1:35 ` Yu Kuai
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=34tfodss.fsf@damenly.org \
--to=l@damenly.org \
--cc=agk@redhat.com \
--cc=akpm@osdl.org \
--cc=blazej.kucman@linux.intel.com \
--cc=bmarzins@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=heinzm@redhat.com \
--cc=jbrassow@f14.redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=neilb@suse.de \
--cc=shli@fb.com \
--cc=snitzer@kernel.org \
--cc=song@kernel.org \
--cc=xni@redhat.com \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai1@huaweicloud.com \
--cc=yukuai3@huawei.com \
/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