[dm-devel] [PATCH v3 2/3] libmultipath: move filter_property() from path_discover() into pathinfo()

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Wed Dec 14 13:07:18 UTC 2016


Hi Hannes,

Thanks for reviewing.

On 12/14/2016 05:04 AM, Hannes Reinecke wrote:
> So wouldn't it make more sense to move filter_devnode() into pathinfo(),
> too, to avoid further inconsistencies between _filter_path() and
> pathinfo()?

Agree.

> Especially as it looks that if we need to call filter_devnode() in
> get_refwwid(), too; starting with line 976 we're just calling
> 'store_pathinfo' for the device node, with no check for blacklisted
> devnode at all.
> (Which also goes to explain why I have this mysterious bug where
> blacklisting by device node doesn't properly work ...).
> So moving filter_devnode() in pathinfo would be more sensible and clean
> up the overall programming model.

I see. Ok, changed/submitted v4.  Hope it helps w/ that mysterious bug.

-- 
Mauricio Faria de Oliveira
IBM Linux Technology Center




More information about the dm-devel mailing list