[dm-devel] Subject: [PATCH 1/1] multipath-tools: fix dm- device filtering

Dragan Stancevic dragan.stancevic at canonical.com
Thu Jun 23 21:06:24 UTC 2016


Hi Christophe,

can you please take a look at the attached patch, we are seeing quite a few
cases with the following errors:

failed to get udev uid: Invalid argument
failed to get sysfs uid: Invalid argument
failed to get sgio uid: No such file or directory

It causes a lot of confusion because the devices in question are in the
blacklist but aren't getting filtered. I don't know the code well enough,
but it seems that maybe there should be no condition in the filtering and
the code should just be:
if (dev && (filter_devnode(conf->blist_devnode, conf->elist_devnode, dev) >
0)) {

But I went for smaller change option, by just allowing DEV_UEVENT to also
be filtered.

What do you think?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160623/de2bc680/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-multipath-tools-fix-dm-device-filtering.patch
Type: text/x-patch
Size: 1588 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160623/de2bc680/attachment.bin>


More information about the dm-devel mailing list