[dm-devel] patch to discovery.c to still get pathpriorityforpaths with path state of PATH_DOWN
Christophe Varoqui
christophe.varoqui at free.fr
Wed Nov 15 22:57:24 UTC 2006
> > Please have a careful look at the multipath/main.c:update_paths change,
> > because the (!pp->priority) that was there awfully looks like a bug (as
> > 0 is not a defined prio value).
> >
>
> 0 is the value you'll get though after alloc_path and before anyone
> calls pathinfo right?
>
You're right. I forgot the memset(0...) through MALLOC().
> Your patch should be equivalent though and is clearer.
>
Then merged.
Now that this issue is cleared, I'll push the head to korg.
Regards,
cvaroqui
More information about the dm-devel
mailing list