[dm-devel] Re: update for shared path checker context

Edward Goggin egoggin at emc.com
Wed Nov 22 19:07:41 UTC 2006


On Monday, November 20, 2006 7:03 PM, Christophe Varoui wrote
> Something like the attached patch, for example.
> (extreme hack to readsector0 to showcase the facility)

Looks good, except for ...

.. just a simple change to multipath/main.c:update_paths()
to set the mpp field of each path so that the immediately
following call to pathinfo() will call get_state() on a
path with its  mpp field set.  This enables "multipath -ll"
to utilize the shared context field of the multipath struct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 535 bytes
Desc: patch
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20061122/de020e05/attachment.obj>


More information about the dm-devel mailing list