From: Sebastian Chlad <sebastianchlad@gmail.com>
To: linux-block@vger.kernel.org
Cc: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
Sebastian Chlad <sebastian.chlad@suse.com>
Subject: [PATCH blktests 2/2] loop/006: settle udev before completing the test
Date: Tue, 21 Jul 2026 18:04:32 +0200 [thread overview]
Message-ID: <20260721160432.27409-2-sebastian.chlad@suse.com> (raw)
In-Reply-To: <20260721160432.27409-1-sebastian.chlad@suse.com>
Ensures udev has processed the burst of attach/detach/LOOP_CHANGE_FD
activity generated by this test before control is handed back, so it
does not leave a backlog for the next test to contend with.
Signed-off-by: Sebastian Chlad <sebastian.chlad@suse.com>
---
tests/loop/006 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/loop/006 b/tests/loop/006
index 549c112..701d44c 100755
--- a/tests/loop/006
+++ b/tests/loop/006
@@ -69,5 +69,10 @@ test() {
fi
losetup -d "$loop_dev"
+ # Let udev catch up on the attach/detach/change-fd before
+ # handing control back, so it doesn't leave a backlog for
+ # whatever test runs next.
+ udevadm settle
+
echo "Test complete"
}
--
2.51.0
next prev parent reply other threads:[~2026-07-21 16:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 16:04 [PATCH blktests 1/2] loop/009: only skip on a genuinely unrecognized --ping option Sebastian Chlad
2026-07-21 16:04 ` Sebastian Chlad [this message]
2026-07-24 0:46 ` [PATCH blktests 2/2] loop/006: settle udev before completing the test Shin'ichiro Kawasaki
2026-07-24 0:46 ` [PATCH blktests 1/2] loop/009: only skip on a genuinely unrecognized --ping option Shin'ichiro Kawasaki
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=20260721160432.27409-2-sebastian.chlad@suse.com \
--to=sebastianchlad@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=sebastian.chlad@suse.com \
--cc=shinichiro.kawasaki@wdc.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