Skip to content

loop/010: fix the flood udev events during the test#200

Merged
kawasaki merged 4 commits intolinux-blktests:masterfrom
yizhanglinux:loop-010-fix
Sep 4, 2025
Merged

loop/010: fix the flood udev events during the test#200
kawasaki merged 4 commits intolinux-blktests:masterfrom
yizhanglinux:loop-010-fix

Conversation

@yizhanglinux
Copy link
Copy Markdown
Contributor

There are still many udev events on some special servers like [1]. Let's try to stop systemd-udevd before the test and start systemd-udevd after the test to stop the udev events. You can find more details on the link.

[1]
$ uname -r
6.17.0-0.rc2.250821g068a56e56fa8.27.fc44.aarch64
$ free -g
total used free shared buff/cache available
Mem: 68 0 65 0 2 67
Swap: 7 0 7
$ nproc
8
$ rpm -qa systemd
systemd-257.7-1.fc43.aarch64
$ ./check loop/010; time udevadm settle --timeout 1200
loop/010 (check stale loop partition) [passed]
runtime 91.214s ... 91.224s

real 19m37.788s
user 0m0.002s
sys 0m0.006s

Link: #181

This reverts commit c4abaa2.

Link: linux-blktests#181
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
There still have many udev events on some special server like [1], let's
try to stop systemd-udevd before the test, and start systemd-udevd after
the test, you can find more details on the link.

[1]
$ uname -r
6.17.0-0.rc2.250821g068a56e56fa8.27.fc44.aarch64
$ free -g
               total        used        free      shared  buff/cache   available
Mem:              68           0          65           0           2          67
Swap:              7           0           7
$ nproc
8
$ rpm -qa systemd
systemd-257.7-1.fc43.aarch64
$ ./check loop/010; time udevadm settle --timeout 1200
loop/010 (check stale loop partition)                        [passed]
    runtime  91.214s  ...  91.224s

real	19m37.788s
user	0m0.002s
sys	0m0.006s

Link: linux-blktests#181
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
$ ./check loop/010
loop/010 (check stale loop partition)
loop/010 (check stale loop partition)                        [passed]op_device}"
    runtime    ...  93.996s

After the fix:
$ ./check loop/010
loop/010 (check stale loop partition)                        [passed]
    runtime  93.996s  ...  93.797s

Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
@igaw
Copy link
Copy Markdown
Contributor

igaw commented Sep 2, 2025

Looks good!

Reviewed-by: Daniel Wagner dwagner@suse.de

@kawasaki kawasaki merged commit b4469a5 into linux-blktests:master Sep 4, 2025
5 checks passed
@yizhanglinux yizhanglinux deleted the loop-010-fix branch September 8, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants