[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.

Attachment: patch
Description: patch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]