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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.16.1

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



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux