Re: [PATCH] block: fix locking in bdev_del_partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 11, 2020 at 05:56:42PM +0300, Dmitriy Gorokh wrote:
> 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.

https://git.kernel.dk/cgit/linux-block/commit/?h=block-5.9&id=88ce2a530cc9865a894454b2e40eba5957a60e1a



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux