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

Re: [dm-devel] default_prio_callout in multipath-tools-0.4.5-pre2



Are you talking about the setting in multipath.conf.synthetic ?

If so, it is just there as a synthax example.
Nobody should copy this template in /etc/ without editing to fit its
needs.

The philosophy should be :

1. try first with no config file
2. if not satisfied, try to massage a config file
3. when satisfied, submit your tuning for inclusion in the default
hardware table.

For most users, there should only be aliases in the config file.

On mar, 2005-05-03 at 17:26 -0400, Kiyoshi Ueda wrote:
> Hi,
> 
> In multipath.conf of multipath-tools-0.4.5-pre2, "/bin/true" is set
> as default_prio_callout, but I think "none" is better as default.
> 
NULL is the default hardcoded conf->getprio (struct config is zalloc'ed)

> "/bin/true" assigns a priority value of "0" and "none" assigns
> that of "1", but the results are same according to the flat priority
> assignment.
> And "none" is more efficient, since "multipath" command doesn't
> call execute_program() which does fork() and exec().
> 
Right.

> Additionally, dependent commands can be reduced by using "none".
> It is helpful for / on multipath, since commands which need to be
> included in initramfs can be reduced when the default setting is used.
> 
> Any comments?
> 
You're all right, but I fail to see what you want me to change ... are
you saying you find the config templates misleading ?

Regards,
-- 
christophe varoqui <christophe varoqui free fr>



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