Bug#595127: bug in multipath-tools (debian squeeze)

Olivier LAMBERT lambert.olivier at gmail.com
Wed Sep 1 08:52:27 UTC 2010


Package: multipath-tools
Version: 0.4.8+git0.761c66f-9

Transition between 0.4.8-14+lenny2 (Lenny) and 0.4.8+git0.761c66f-9
(Squeeze) cause remove of prio_callout in multipath-tools : that's OK.
But it's replaced by "prio" like the dev says :
    *  no more prioritizer callouts. replaced by mem-pinned .so to
avoid having to cache the callouts.
    * move checkers to mem-pinned .so too
    * allow arguments passing to prioritizers

Source : http://christophe.varoqui.free.fr/


In Squeeze, the two first points are OK. But the last one, arguments,
are not correctly implemented in this version. So, no callout and no
prio_args : there is no possibility to call prio with argument.

The last git version of multipath
(http://kernel.org/pub/scm/linux/storage/multipath-tools/.git) was
compiled and tested : now prio_args works fine !

Let's see an debug from current version of multipath in Squeeze VS the
latest (I introduce a printf for printing if "prio_args "timeout=1000
preferredsds=foo"" in config file were displayed correctly).

Squeeze package :
multipath -ll
ARGS IS sdb
ARGS IS sdc

Obviously, multipath in squeeze takes drive names in arguments, and
NOT prio_args used in the conf.

And now, same conf, same system, but git version of multipath :
multipath -ll
ARGS IS timeout=1000 preferredsds=foo
ARGS IS timeout=1000 preferredsds=foo

And it works !

I am using Debian GNU/Linux squeeze/sid, kernel 22.6.32-5-xen-amd64.

Regards,


Olivier.





More information about the pkg-lvm-maintainers mailing list