linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yu Kuai <yukuai1@huaweicloud.com>
To: Zdenek Kabelac <zdenek.kabelac@gmail.com>,
	Mikulas Patocka <mpatocka@redhat.com>,
	Yu Kuai <yukuai1@huaweicloud.com>
Cc: Song Liu <song@kernel.org>,
	linux-raid@vger.kernel.org, dm-devel@lists.linux.dev,
	"yukuai (C)" <yukuai3@huawei.com>
Subject: Re: LVM2 test breakage
Date: Mon, 19 May 2025 19:07:36 +0800	[thread overview]
Message-ID: <2ec7a2fd-13bd-08d7-8e8d-71ef83c3aa45@huaweicloud.com> (raw)
In-Reply-To: <81c5847a-cfd8-4f9f-892c-62cca3d17e63@redhat.com>

Hi,

在 2025/05/19 18:45, Zdenek Kabelac 写道:
> Dne 19. 05. 25 v 12:10 Mikulas Patocka napsal(a):
>> On Mon, 19 May 2025, Yu Kuai wrote:
>>
>>> Hi,
>>>
>>> 在 2025/05/19 9:11, Yu Kuai 写道:
>>>> Hi,
>>>>
>>>> 在 2025/05/17 0:00, Mikulas Patocka 写道:
>>>>> Hi
>>>>>
>>>>> The commit e879a0d9cb086c8e52ce6c04e5bfa63825a6213c breaks the test
>>>>> shell/lvcreate-large-raid.sh in the lvm2 testsuite.
>>>>>
>>>>> The breakage is caused by removing the line "read_bio->bi_opf = op |
>>>>> do_sync;"
>>>>>
>>> Do I need some special setup to run this test? I got following
>>> result in my VM, and I don't understand why it failed.
>>>
>>> Ask Zdenek Kabelac - he is expert in the testsuite.
>>>
>>> Mikulas
> 
> 
> Hi
> 
> 
> Lvm2 test suite is creating 'virtual' disk setup - it usually tries 
> first build something with 'brd' - if this device is 'in-use' it 
> fallback to create some files in LVM_TEST_DIR.
> 
> This dir however must allow creation of device - by default nowdays  
> /dev/shm & /tmp are mounted with  'nodev' mount option.
> 
> So a dir which does allow dev creation must be passed to the test - so 
> either remount dir without 'nodev' or set LVM_TEST_DIR to the filesystem 
> which allows creation of devices.

Yes, I know that, and I set LVM_TEST_DIR to a new mounted nvme, as use
can see in the attached log:

[ 0:02.335] ## DF_H:    /dev/nvme0n1     98G   64K   93G   1% /mnt/test

> 
> In 'lvm2/test'   run  'make help'  to see all possible settings - useful 
> one could be LVM_TEST_AUX_TRACE  to expose shell traces from test 
> internals - helps with debugging...
The log do have shell trace, I think, it stoped here, I just don't know
why :(

[ 0:01.709] ## - /root/lvm2/test/shell/lvcreate-large-raid.sh:31
[ 0:01.710] ## 1 STACKTRACE() called from 
/root/lvm2/test/shell/lvcreate-large-raid.sh:31

Thanks,
Kuai


  parent reply	other threads:[~2025-05-19 11:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-16 16:00 LVM2 test breakage Mikulas Patocka
2025-05-19  1:11 ` Yu Kuai
2025-05-19  6:41   ` Yu Kuai
2025-05-19 10:10     ` Mikulas Patocka
     [not found]       ` <81c5847a-cfd8-4f9f-892c-62cca3d17e63@redhat.com>
2025-05-19 11:07         ` Yu Kuai [this message]
2025-05-19 13:55           ` Zdenek Kabelac
2025-05-20  1:45             ` Yu Kuai
2025-05-20  1:53               ` Yu Kuai
2025-05-20  3:47                 ` Su Yue
2025-05-20  6:12                   ` Yu Kuai
2025-05-19 10:08   ` Mikulas Patocka
2025-05-19 10:09     ` [PATCH] md/raid1,raid10: don't pass down the REQ_RAHEAD flag Mikulas Patocka
2025-05-19 11:19       ` Yu Kuai
2025-05-19 11:39         ` Yu Kuai
2025-05-19 12:05           ` Mikulas Patocka
2025-05-19 12:34             ` Yu Kuai
2025-05-20  6:28               ` Yu Kuai
2025-05-19 12:15           ` Mikulas Patocka

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=2ec7a2fd-13bd-08d7-8e8d-71ef83c3aa45@huaweicloud.com \
    --to=yukuai1@huaweicloud.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=linux-raid@vger.kernel.org \
    --cc=mpatocka@redhat.com \
    --cc=song@kernel.org \
    --cc=yukuai3@huawei.com \
    --cc=zdenek.kabelac@gmail.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;
as well as URLs for NNTP newsgroup(s).