Bug#659229: prio_callout is not executed (manpage unclear or outdated?)

Ritesh Raj Sarraf rrs at debian.org
Thu Feb 9 14:57:12 UTC 2012


On Thursday 09 February 2012 07:25 PM, Holger Levsen wrote:
>> Please use libprio instead.
> I'd love to, but I cannot find information how to. Can you please point me in 
> the right direction? Or just give an example for the usecase outlined in this 
> bug report.
Have a look at the multipath.conf.annotated file in the example/ folder.

To quote:
#       # name    : prio
#       # scope   : multipath & multipathd
#       # desc    : the default function to call to obtain a path
#       #           priority value. The ALUA bits in SPC-3 provide an
#       #           exploitable prio value for example.
#       # default : const
#       #
#       prio    "alua"
#
#       #
#       # name    : prio_args
#       # scope   : multipath & multipathd
#       # desc    : The arguments string passed to the prio function
#       #           Most prio functions do not need arguments. The
#       #           datacore prioritizer need one.
#       # default : (null)
#       #
#       prio_args       "timeout=1000 preferredsds=foo"
#


In case you want to have your own prioritizer, have a look at
libmultipath/prioritizers/
You'll have to add your prioritizer and rebuild it. Otherwise, if your
storage controller is a recent standards compliant array, you can try to
use ALUA.


BTW, what exact use case do you have? I see you've chosen to queue i/o
when all paths are down. So you'd also want to use queue_if_no_path.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20120209/8aefb4a3/attachment-0001.pgp>


More information about the pkg-lvm-maintainers mailing list