From: Jens Axboe <axboe@kernel.dk>
To: Karel Zak <kzak@redhat.com>,
Allison Karlitskaya <allison.karlitskaya@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: PROBLEM: BLKPG_DEL_PARTITION with GENHD_FL_NO_PART used to return ENXIO, now returns EINVAL
Date: Mon, 15 Jan 2024 07:25:22 -0700 [thread overview]
Message-ID: <603ce174-4307-4425-a597-60236c237fdc@kernel.dk> (raw)
In-Reply-To: <20240115125722.bwumutabu4itbrho@ws.net.home>
On 1/15/24 5:57 AM, Karel Zak wrote:
> On Mon, Jan 15, 2024 at 01:13:49PM +0100, Allison Karlitskaya wrote:
>> hi,
>>
>> [1.] One line summary of the problem:
>> BLKPG_DEL_PARTITION on an empty loopback device used to return ENXIO
>> but now returns EINVAL, breaking partprobe
>
> Note that partx from util-linux also assumes ENXIO, and this errno is
> interpreted as non-error ("ignore this partition").
Can someone send a patch for this?
--
Jens Axboe
next prev parent reply other threads:[~2024-01-15 14:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 12:13 PROBLEM: BLKPG_DEL_PARTITION with GENHD_FL_NO_PART used to return ENXIO, now returns EINVAL Allison Karlitskaya
2024-01-15 12:57 ` Karel Zak
2024-01-15 14:25 ` Jens Axboe [this message]
2024-01-16 10:47 ` Christoph Hellwig
2024-01-16 13:03 ` Allison Karlitskaya
2024-01-16 13:23 ` Yu Kuai
2024-01-16 13:46 ` Yu Kuai
2024-01-17 18:34 ` Christoph Hellwig
2024-01-17 23:05 ` Jens Axboe
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=603ce174-4307-4425-a597-60236c237fdc@kernel.dk \
--to=axboe@kernel.dk \
--cc=allison.karlitskaya@redhat.com \
--cc=kzak@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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