All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [PATCH v2 0/9] improving config parsing warnings
@ 2021-11-11  1:06 Benjamin Marzinski
  2021-11-11  1:06 ` [dm-devel] [PATCH v2 1/9] libmultipath: add section name to invalid keyword output Benjamin Marzinski
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Benjamin Marzinski @ 2021-11-11  1:06 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: device-mapper development, Martin Wilck

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 five 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 v1 (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        | 523 +++++++++++++++++++++++++------------
 libmultipath/parser.c      |  31 ++-
 libmultipath/parser.h      |  15 +-
 multipath/multipath.conf.5 |   5 +
 4 files changed, 389 insertions(+), 185 deletions(-)

-- 
2.17.2

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-11-11 15:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11  1:06 [dm-devel] [PATCH v2 0/9] improving config parsing warnings Benjamin Marzinski
2021-11-11  1:06 ` [dm-devel] [PATCH v2 1/9] libmultipath: add section name to invalid keyword output Benjamin Marzinski
2021-11-11  1:06 ` [dm-devel] [PATCH v2 2/9] libmultipath: use typedef for keyword handler function Benjamin Marzinski
2021-11-11  1:06 ` [dm-devel] [PATCH v2 3/9] libmultipath: print the correct file when parsing fails Benjamin Marzinski
2021-11-11  1:06 ` [dm-devel] [PATCH v2 4/9] libmultipath: pass file and line number to keyword handlers Benjamin Marzinski
2021-11-11 11:31   ` Martin Wilck
2021-11-11  1:06 ` [dm-devel] [PATCH v2 5/9] libmultipath: make set_int take a range for valid values Benjamin Marzinski
2021-11-11 11:33   ` Martin Wilck
2021-11-11  1:06 ` [dm-devel] [PATCH v2 6/9] libmultipath: improve checks for set_str Benjamin Marzinski
2021-11-11 11:34   ` Martin Wilck
2021-11-11  1:06 ` [dm-devel] [PATCH v2 7/9] libmultipath: deprecate file and directory config options Benjamin Marzinski
2021-11-11 11:44   ` Martin Wilck
2021-11-11 15:36     ` Benjamin Marzinski
2021-11-11  1:06 ` [dm-devel] [PATCH v2 8/9] libmultipath: split set_int to enable reuse Benjamin Marzinski
2021-11-11 11:52   ` Martin Wilck
2021-11-11  1:06 ` [dm-devel] [PATCH v2 9/9] libmultipath: cleanup invalid config handling Benjamin Marzinski
2021-11-11 11:54   ` Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.