improving config parsing warnings
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 1 replyIn review
- v29 patches 7 repliesSuperseded
- v18 patches 20 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | libmultipath: add section name to invalid keyword outputlibmultipath/ | +13 | 0 replies | |
| 2/9 | libmultipath: use typedef for keyword handler functionlibmultipath/ libmultipath/ | +9 | 0 replies | |
| 3/9 | libmultipath: print the correct file when parsing failslibmultipath/ | +2 | 0 replies | |
| 4/9 | libmultipath: pass file and line number to keyword handlerslibmultipath/ libmultipath/ libmultipath/ | +90 | 0 replies | |
| 5/9 | libmultipath: make set_int take a range for valid valueslibmultipath/ | +75 | 0 replies | |
| 6/9 | libmultipath: improve checks for set_strlibmultipath/ | +78 | 0 replies | |
| 7/9 | libmultipath: deprecate file and directory config optionslibmultipath/ multipath/ | +20 | 1 reply | |
| 8/9 | libmultipath: split set_int to enable reuselibmultipath/ | +46 | 0 replies | |
| 9/9 | libmultipath: cleanup invalid config handlinglibmultipath/ | +51 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Martin Wilck |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH v3 0/9] improving config parsing warnings
This is a series of patches to make multipath provide better warnings when parsing multipath.conf. The first three patches fix small issues. The last six patches make multipath print warning messages with the file and line number, when it was previously either accepting invalid values or silently changing them.
Changes from v2->v3, as suggested by Martin Wilck:
0007: still print the value of the deprecated options. 0008: revert to v1 patch
Changes from v1->v2 (by v1 patch number), as suggested by Martin Wilck:
0005: use MAX_VEROSITY enum in the verbosity handler declaration. 0006: added a new patch, 0007, to warn that these options are now
deprecated, and no longer print them when the have the default value. They are still used for now.
0007: functions that accept "0" as a special input value will now
check if the integer gotten by do_set_int() is 0, and covert that to the special case.
Benjamin Marzinski (9):
libmultipath: add section name to invalid keyword output
libmultipath: use typedef for keyword handler function
libmultipath: print the correct file when parsing fails
libmultipath: pass file and line number to keyword handlers
libmultipath: make set_int take a range for valid values
libmultipath: improve checks for set_str
libmultipath: deprecate file and directory config options
libmultipath: split set_int to enable reuse
libmultipath: cleanup invalid config handling
libmultipath/dict.c | 492 +++++++++++++++++++++++++------------ libmultipath/parser.c | 31 ++- libmultipath/parser.h | 15 +- multipath/multipath.conf.5 | 5 + 4 files changed, 365 insertions(+), 178 deletions(-)
Signature · 6 lines
2.17.2 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel