Skip to content

multipath-tools: hwhandler autodetection

Martin Wilck dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libmultipath: hwhandler auto-detection for ALUAlibmultipath/propsel.c+17 -27 replies
2/2libmultipath/propsel: (re)use static const vars for originlibmultipath/propsel.c+98 -721 reply

Reviews trailers per patch

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

PatchBenjamin Marzinski
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] multipath-tools: hwhandler autodetection

This is patch set is a follow-up of the late discussion
"Can we drop 'hardware_handler "1 alua"'?". With patch 1/2 in place, I think we can - multipath uses the TPGS flag to determine whether or not the paths support ALUA, and sets the hwhandler accordingly. Unlike the "detect_checker" and "detect_prio" options, I have coded this so that explicit "hardware_hander" settings take priority over autodetection, except for the case in which we determine that TPGS is unsupported.

Thus I don't think an additional "detect_hwhandler" config option is necessary.

To be actually effective to solve the problems with certain types of IBM IPR controllers, patch 1/2 must be combined with my previous
patch "libmultipath: don't reject maps with undefined prio".

Patch 2/2 is just a cleanup that looked logical to do after 1/2.

Martin Wilck (2):
libmultipath: hwhandler auto-detection for ALUA libmultipath/propsel: (re)use static const vars for origin

 libmultipath/propsel.c | 187 ++++++++++++++++++++++++++++++-------------------
 1 file changed, 114 insertions(+), 73 deletions(-)
Signature · 1 line
2.16.1