From: Dmitriy Gorokh <degifted@gmail.com>
To: Christoph Hellwig <hch@lst.de>, axboe@kernel.dk
Cc: linux-block@vger.kernel.org
Subject: [PATCH] block: fix locking in bdev_del_partition
Date: Fri, 11 Sep 2020 17:56:42 +0300 [thread overview]
Message-ID: <CANYdAbJVvNB+5Kyqgu3aoh8ug6C2DVkys8JWrY-nQvtPLEgeOw@mail.gmail.com> (raw)
Hi Christoph,
Unfortunately this fix (Upstream commit
08fc1ab6d748ab1a690fd483f41e2938984ce353) breaks compatibility with
some userspace tools, specifically mdadm, who expect ENXIO errno as a
result of BLKPG_DEL_PARTITION operation to test if the block device is
a whole-disk or a partition. With the recent 5.8 kernel it now returns
ENOMEM on an existing block device which seems inconsistent.
Regards,
Dmitriy
next reply other threads:[~2020-09-11 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 14:56 Dmitriy Gorokh [this message]
2020-09-11 14:58 ` [PATCH] block: fix locking in bdev_del_partition Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2020-09-01 9:59 Christoph Hellwig
2020-09-01 14:35 ` 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=CANYdAbJVvNB+5Kyqgu3aoh8ug6C2DVkys8JWrY-nQvtPLEgeOw@mail.gmail.com \
--to=degifted@gmail.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.