libmultipath: print correct default for delay_*_checks
Benjamin Marzinski
maintainerPATCH 1/2 libmultipath: print correct default for delay_*_checks
These options default to "no", so they should display that when the config is printed.
--- libmultipath/dict.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
libmultipath/dict.c +4 -2
@@ -1115,7 +1115,8 @@ print_off_int_undef(char * buff, int len, long v) } declare_def_handler(delay_watch_checks, set_off_int_undef) -declare_def_snprint(delay_watch_checks, print_off_int_undef) +declare_def_snprint_defint (delay_watch_checks, print_off_int_undef, + DEFAULT_DELAY_CHECKS) declare_ovr_handler(delay_watch_checks, set_off_int_undef) declare_ovr_snprint(delay_watch_checks, print_off_int_undef)declare_hw_handler (delay_watch_checks, set_off_int_undef)
@@ -1123,7 +1124,8 @@ declare_hw_snprint(delay_watch_checks, print_off_int_undef) declare_mp_handler(delay_watch_checks, set_off_int_undef) declare_mp_snprint(delay_watch_checks, print_off_int_undef) declare_def_handler(delay_wait_checks, set_off_int_undef) -declare_def_snprint(delay_wait_checks, print_off_int_undef) +declare_def_snprint_defint (delay_wait_checks, print_off_int_undef, + DEFAULT_DELAY_CHECKS) declare_ovr_handler(delay_wait_checks, set_off_int_undef) declare_ovr_snprint(delay_wait_checks, print_off_int_undef)declare_hw_handler (delay_wait_checks, set_off_int_undef)
Signature · 1 line
2.7.4
Benjamin Marzinski
maintainerPATCH 2/2 multipath.conf.5: clarify property whitelist handling
--- multipath/multipath.conf.5 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
multipath/multipath.conf.5 +3 -4
@@ -1181,10 +1181,9 @@ and keywords. For a full description of these keywords please see the \fIdevices\fR section description. .LP -The \fIproperty\fR blacklist and whitelist handling is different from the usual -handling in the sense that the whitelist \fIhas\fR to be set, otherwise the -device will be blacklisted. In these cases the message \fIblacklisted, udev -property missing\fR will be displayed. +The \fIproperty\fR whitelist handling is different from the usual +handling in the sense that the device \fIhas\fR to have a udev property that +matches the whitelist, otherwise the device will be blacklisted. In these cases the message \fIblacklisted, udev property missing\fR will be displayed. . . .\" ----------------------------------------------------------------------------
Signature · 1 line
2.7.4
Re: [PATCH 2/2] multipath.conf.5: clarify property whitelist handling
Quoted 23 lines · Benjamin Marzinski
Signed-off-by Benjamin Marzinski <[email protected]>--- multipath/multipath.conf.5 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)multipath/multipath.conf.5 +0
-0@@ -1181,10 +1181,9 @@ and keywords. For a full description of these keywords please see the\fIdevices\fR
section description.
.LP
-The \fIproperty\fR blacklist and whitelist handling is different from the usual
-handling in the sense that the whitelist \fIhas\fR to be set, otherwise the
-device will be blacklisted. In these cases the message \fIblacklisted, udevmultipath/multipath.conf.5 +2
-1-property missing\fR will be displayed. +The \fIproperty\fR whitelist handling is different from the usual +handling in the sense that the device \fIhas\fR to have a udev
Quoted 4 lines
property that
+matches the whitelist, otherwise the device will be blacklisted. In these cases the message \fIblacklisted, udev property missing\fR will be displayed.
ACK in general, but I'm preparing a larger update for the documentation of the blacklist / whitelist handling, to be submitted very soon, which might obsolete this.
Martin
Signature · 8 lines
Dr. Martin Wilck <[email protected]>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 8 lines · Benjamin Marzinski
These options default to "no", so they should display that when the config is printed.
Signed-off-by Benjamin Marzinski <[email protected]>--- libmultipath/dict.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 8 lines
Dr. Martin Wilck <[email protected]>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel