[dm-devel] [PATCH 02/10] kpartx: avoid ioctl error for loop devices

Martin Wilck mwilck at suse.com
Thu May 11 09:33:39 UTC 2017


On Mon, 2017-05-08 at 15:46 -0500, Benjamin Marzinski wrote:
> dm_no_partitions() checks if features includes "no_partitions", but
> the
> upstream kernel doesn't allow that feature.  The patch to add it got
> NAKed when Hannes posted it, IIRC. That's why I went the route of
> using
> udev flags to avoid running kpartx.  Unless SUSE (or some other
> distro)
> is using the "no_partitions" patch in their kernel, we can pull the
> dm_no_partitions code completely.
> 
> If you're still using it, I'm fine with this patch.

The SUSE kernel supports this feature. But after discussing with
Hannes, I see no problem with removing it from upstream multipath-tools 
and making it a SUSE-specific feature in our code base.

Martin

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSELinux GmbH, GF: Felix Imendörffer, Jane Smithard,  Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list