On Thu, 20 Oct 2005 15:53:03 +0200
Christophe Varoqui <christophe varoqui free fr> wrote:
Nice,
can libdevmapper event listening mecanisms be replaced by the
uevents listener ?
IOW, will all necessary attribute changes be reported as uevents ?
Events needed are :
- multipath topology changes :
- path add/remove (well, this one is guarantied through
/block I guess)
- attributes changes
- path state changes / path reinstates
- path group switches
- multipath add/remove (Deduce from /block uevents ?)
Regards,
cvaroqui
Good idea -- but Netlink sockets are inherently unreliable
(think UDP not TCP) since they use datagrams. Also, we will
need lots of kobjects scattered around the current multipath
kernel components in order to generate the necessary uevents
whenever attribute values change. This is no trivial task --