public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: "Martin Doucha" <mdoucha@suse.cz>, <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] tst_detach_device: Clear leftover partitions
Date: Tue, 16 Dec 2025 13:13:55 +0100	[thread overview]
Message-ID: <DEZMS4NATYN0.1UPLQVTAALHVA@suse.com> (raw)
In-Reply-To: <20251212104025.15924-1-mdoucha@suse.cz>

Hi!

On Fri Dec 12, 2025 at 11:40 AM CET, Martin Doucha wrote:
> Some kernels have a race condition during loop device release
> which results in partitions being left over on unattached device.
> The partitions then cause mkfs.vfat failures in later tests.
>
> Check for loop device partitions after detaching it and clear them
> if necessary.

In general the code looks good, but the sentence "Some kernels have a
race condition during loop device release" sounds like a kernel bug
that we are working around with this feature. I know probably this
is not the case, but if I read the sentence this is what I guess.


-- 
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2025-12-16 12:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12 10:40 [LTP] [PATCH] tst_detach_device: Clear leftover partitions Martin Doucha
2025-12-12 14:39 ` Petr Vorel
2025-12-16 12:13 ` Andrea Cervesato via ltp [this message]
2025-12-16 12:16   ` Martin Doucha
2025-12-16 12:19     ` Andrea Cervesato via ltp
2025-12-18 13:11 ` Andrea Cervesato via ltp

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=DEZMS4NATYN0.1UPLQVTAALHVA@suse.com \
    --to=ltp@lists.linux.it \
    --cc=andrea.cervesato@suse.com \
    --cc=mdoucha@suse.cz \
    /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