libmultipath: utter less dev_loss_tmo warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libmultipath: enable linear ordering of bus/proto tuplelibmultipath/ libmultipath/ | +21 | 1 reply | |
| 2/4 | libmultipath: use bus_protocol_id() in snprint_path_protocol()libmultipath/ | +21 | 0 replies | |
| 3/4 | libmultipath: enable defining a static bitfieldlibmultipath/ | +10 | 0 replies | |
| 4/4 | libmultipath: only warn once about unsupported dev_loss_tmolibmultipath/ | +3 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjamin Marzinski |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH 0/4] libmultipath: utter less dev_loss_tmo warnings
From: Martin Wilck <[email protected]>
Hi Christophe,
since 3ab1f3b ("libmultipath: print message if setting dev_loss_tmo is unsupported"), multipathd prints a warning at level 2 for every map for which dev_loss_tmo can't be set. This results in a large number of warnings if there are many maps with such unsupported protocols, like this:
multipathd[1398]: 36001405328d6683b6cb4739943adf643: setting dev_loss_tmo is unsupported for protocol scsi:unspec
This patch set makes changes the code to print this warning only once per unsupported protocol. It would have been simpler to never print the warning more than once, but I figured that might suppress important information in some cases.
Regards
Martin
Martin Wilck (4):
libmultipath: enable linear ordering of bus/proto tuple
libmultipath: use bus_protocol_id() in snprint_path_protocol()
libmultipath: enable defining a static bitfield
libmultipath: only warn once about unsupported dev_loss_tmo
libmultipath/discovery.c | 4 ++- libmultipath/print.c | 58 +++++++++++++++------------------------- libmultipath/structs.c | 10 +++++++ libmultipath/structs.h | 13 +++++++-- libmultipath/util.h | 10 +++++++ 5 files changed, 55 insertions(+), 40 deletions(-)
Signature · 7 lines
2.35.1 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel