Skip to content

Add protocol specific config subsection

Benjamin Marzinski dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 6 repliesIn review
  2. v19 patches 8 repliesSuperseded

Changes in v2 from the cover letter

0003: Adds the protocol subsection to the overrides section instead of
the device subsection, pulling in code from original patch 0007
0005: Checks the pctable of the overrides section instead of the
hwes, pulling in code from original patch 0007
Original patches 0006 and 0007 have been removed.
0007: (original patch 0009) modified the man page to no longer
reference the protocol subsection under the device subsection

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7libmultipath: steal the src string pointer in merge_str()libmultipath/config.c+5 -110 replies
2/7libmultipath: make protocol_name globallibmultipath/print.c libmultipath/structs.c libmultipath/structs.h+19 -170 replies
3/7libmultipath: add a protocol subsection to multipath.conflibmultipath/config.c libmultipath/config.h libmultipath/dict.c +1 more+242 -02 replies
4/7libmultipath: Set the scsi timeout parameters by pathlibmultipath/configure.c libmultipath/discovery.c libmultipath/discovery.h +4 more+127 -1091 reply
5/7libmultipath: check the overrides pctable for path variableslibmultipath/propsel.c+26 -31 reply
6/7libmultipath: fix eh_deadline documentationmultipath/multipath.conf.5+4 -01 reply
7/7libmultipath: Add documentation for the protocol subsectionmultipath/multipath.conf.5+32 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchMartin Wilck
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dm-devel] [PATCH v2 0/7] Add protocol specific config subsection

Some storage arrays can be accessed using multiple protocols at the same time. I've have customers request the ability to set different values for the path specific timeouts, like fast_io_fail_tmo, based on the protocol used to access the path. In order to make this possible, this patchset adds a new protocol subsection to the overrides section. This allows users to set a device config's path specific timeouts, such as dev_loss_tmo, fast_io_fail_tmo, and eh_deadline on a per-protocol basis.

Changes from v1 (all based on suggestions from Martin Wilck):
0003: Adds the protocol subsection to the overrides section instead of
the device subsection, pulling in code from original patch 0007
0005: Checks the pctable of the overrides section instead of the
hwes, pulling in code from original patch 0007
Original patches 0006 and 0007 have been removed.
0007: (original patch 0009) modified the man page to no longer
reference the protocol subsection under the device subsection

Benjamin Marzinski (7):
libmultipath: steal the src string pointer in merge_str()
libmultipath: make protocol_name global
libmultipath: add a protocol subsection to multipath.conf
libmultipath: Set the scsi timeout parameters by path
libmultipath: check the overrides pctable for path variables
libmultipath: fix eh_deadline documentation
libmultipath: Add documentation for the protocol subsection

 libmultipath/config.c      |  99 ++++++++++++++++++---
 libmultipath/config.h      |  10 +++
 libmultipath/configure.c   |   5 +-
 libmultipath/dict.c        |  99 +++++++++++++++++++++
 libmultipath/discovery.c   | 174 +++++++++++++++++++++----------------
 libmultipath/discovery.h   |   2 +-
 libmultipath/print.c       |  67 ++++++++++----
 libmultipath/propsel.c     |  65 +++++++++-----
 libmultipath/propsel.h     |   6 +-
 libmultipath/structs.c     |  19 +++-
 libmultipath/structs.h     |   7 +-
 multipath/multipath.conf.5 |  36 ++++++++
 12 files changed, 452 insertions(+), 137 deletions(-)
Signature · 6 lines
2.17.2

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel