Skip to content

Misc Multipath patches

Benjamin Marzinski dm-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v26 patches 6 repliesSuperseded
  3. v15 patches 19 repliesSuperseded

Changes in v3 from the cover letter

0004: Add size parameter to fetch_vpd_page() instead of assuming 4096,
as suggested by Martin
0005: I realized that fetch_vpd_page() already correctly checked the
page number and size and warned about truncation, so there was no point in checking the size again in is_vpd_page_supported().
Dropped patch 0006 in favor or Martin's approach to solving the dlclose
issue.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libmultipath: move fast_io_fail defines to structs.hlibmultipath/config.h libmultipath/dict.c libmultipath/dict.h +2 more+34 -250 replies
2/5libmultipath: add eh_deadline multipath.conf parameterlibmultipath/config.c libmultipath/config.h libmultipath/configure.c +6 more+109 -70 replies
3/5multipathd: remove redundant vector_free() int configuremultipathd/main.c+2 -60 replies
4/5libmultipath: factor out code to get vpd page datalibmultipath/discovery.c+19 -80 replies
5/5libmultipath: limit reading 0xc9 vpd pagelibmultipath/discovery.c libmultipath/discovery.h libmultipath/propsel.c+24 -40 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin Wilck
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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

Read the v3 thread

Cover letter [dm-devel] [PATCH v3 0/5] Misc Multipath patches

This is a set of unrelated patches, based on top of my previous "add library to check if device is a valid path" patchset. The first two patches add a new config option, eh_deadline, that sets the scsi sysfs value of the same name for scsi path devices. This has been requested by multiple customers. Patch 0005 is a change to detecting rdac support requested by Netapp.

Changes from v2 to v3:
0004: Add size parameter to fetch_vpd_page() instead of assuming 4096,
as suggested by Martin
0005: I realized that fetch_vpd_page() already correctly checked the
page number and size and warned about truncation, so there was no point in checking the size again in is_vpd_page_supported().
Dropped patch 0006 in favor or Martin's approach to solving the dlclose
issue.

Changes from v1 to v2:
0002: multiple small fixes suggested by Martin
0004: New patch to setup for checking vpd page 0x00
0005 (was 0004): added checking for vpd page 0xc9 in vpd page 0x00, as
suggested by Martin
0006 (was 0005): Added version script update

Benjamin Marzinski (5):
libmultipath: move fast_io_fail defines to structs.h
libmultipath: add eh_deadline multipath.conf parameter
multipathd: remove redundant vector_free() int configure
libmultipath: factor out code to get vpd page data
libmultipath: limit reading 0xc9 vpd page

 libmultipath/config.c      |   2 +
 libmultipath/config.h      |  10 +---
 libmultipath/configure.c   |   1 +
 libmultipath/dict.c        |  40 ++++++++------
 libmultipath/dict.h        |   2 +-
 libmultipath/discovery.c   | 104 +++++++++++++++++++++++++++++++------
 libmultipath/discovery.h   |   1 +
 libmultipath/propsel.c     |  29 +++++++++--
 libmultipath/propsel.h     |   1 +
 libmultipath/structs.h     |  24 +++++++++
 multipath/multipath.conf.5 |  16 ++++++
 multipathd/main.c          |   8 +--
 12 files changed, 188 insertions(+), 50 deletions(-)
Signature · 6 lines
2.17.2

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