Re: discuss about commit 3b0f9ce: filter-mpath: get wwids from sysfs vpd_pg83

Peter Rajnoha <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
On 11/13/23 12:52, Martin Wilck wrote:
> I can't stress enough that this is *the only mechanism* that works
> correctly. udev serves as central hub to retrieve device properties
> from, and this is how it ought to be.

Indeed, that was exactly one of the primary reasons the
'external_device_info_source="udev"' was added. Reimplementing other
subsystem's logic is wrong because there's always some intrinsic logic
there that may be omitted. Sooner or later, such approach will fail.

I agree with you here.

If not sharing information through udev due to various kinds of hatred
about this part of the system, then alternatively, at least, calling a
multipath library function from LVM to do the job.

-- 
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.