multipath-tools changes upstream
Hi,
please take notice I updated the upstream git tree for the multipath-tools project. This tree includes lots of code shuffling :
1) prioritizers as dlopen'ed shared libs (/lib/libmultipath/libprio*.so)
2) checkers as dlopen'ed shared libs (/lib/libmultipath/libcheck*.so)
Consequences :
The multipath tool is about to get shot for good
The klibc build is gone
Please review, and comment.
Regards,
cvaroqui
Benjamin Marzinski
maintainerQuoted 5 lines · Christophe Varoqui
Hi,
please take notice I updated the upstream git tree for the multipath-tools project. This tree includes lots of code shuffling :
Quoted 8 lines
1) prioritizers as dlopen'ed shared libs (
/lib/libmultipath/libprio*.so)
2) checkers as dlopen'ed shared libs (/lib/libmultipath/libcheck*.so)Consequences :
The multipath tool is about to get shot for good
The klibc build is gonePlease review, and comment.
I'm not able to update my copy of the repository, or clone a new one. Am I the only one?
-Ben
Quoted 7 lines
Regards,
cvaroqui--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Quoted 9 lines · Benjamin Marzinski
Quoted 8 lines · Christophe Varoqui
Hi,
please take notice I updated the upstream git tree for the multipath-tools project. This tree includes lots of code shuffling :
1) prioritizers as dlopen'ed shared libs (
/lib/libmultipath/libprio*.so)
2) checkers as dlopen'ed shared libs (/lib/libmultipath/libcheck*.so)
Quoted 9 lines
Quoted 5 lines
Consequences :
The multipath tool is about to get shot for good
The klibc build is gonePlease review, and comment.
I'm not able to update my copy of the repository, or clone a new one. Am I the only one?
It is working for me.
I just pulled the other day post the email.
git-head on my tree is currently at:e22cda64d35235a2b6511cfb589710c3bd3202e0
I just did a git-pull and it indicated that I was up to date.
I am pulling from:
remote.origin.url=git://git.kernel.org/pub/scm/linux/storage/multipath-tools/.git
-andmike
--
Michael Anderson
[email protected]
Hi Christophe,
Quoted 7 lines · Christophe Varoqui
Hi,
please take notice I updated the upstream git tree for the multipath-tools project. This tree includes lots of code shuffling :
1) prioritizers as dlopen'ed shared libs (
/lib/libmultipath/libprio*.so)
2) checkers as dlopen'ed shared libs (/lib/libmultipath/libcheck*.so)
Maybe /lib/multipath is more appropriate; eventually something more might be stored in there.
Quoted 3 lines
Consequences :
The multipath tool is about to get shot for good
About time :-)
But: how do I get the topology output?
I hope not via the 'multipathd -k' option? Maybe we should just have it symlinked to multipathd and print out the appropriate output ...
Quoted 1 line
The klibc build is gone
Even better.
Oh, and I do have some fixes queued which I need to polish up and post here. Just as a reminder if you thought of doing a release or somesuch ...
Cheers,
Hannes
Signature · 4 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg)
Hi Christophe and all,
Sorry for the late reply.
I took a quick look at the patch series and got some concerns. Please see below for details.
Quoted 5 lines · Christophe Varoqui
please take notice I updated the upstream git tree for the multipath-tools project. This tree includes lots of code shuffling :
1) prioritizers as dlopen'ed shared libs (
/lib/libmultipath/libprio*.so)
2) checkers as dlopen'ed shared libs (/lib/libmultipath/libcheck*.so)
Dynamic loading is a nice feature for out-of-tree prioritizers and checkers.
But I think it's better to avoid using dlopen for in-tree prioritizers and checkers.
(Or at least provide configuration option to build them as built-in.)
I believe most distros want to use multipath-tools on installer environment and initrd environment for root volume multipathing. However, some distros may not be supporting dynamic loading on such environments, and such distros are using static linked binaries.
This change prevents such distros from using root volume multipath, since the change dropped static build capability completely.
Does the change come from my comment below?
(http://marc.info/?l=dm-devel&m=119817423831745&w=2)
Quoted 10 lines · Kiyoshi Ueda
I would like to note that we lost the priority callout feature completely to fix the stall problem of root multipath.
Although below is just my humble opinion, I guess it was useful for people who want to use new prioritizers on official distro's environments until an update package including the prioritizer is released.
So if such a case often happens, adding other ways to use external prioritizers (perhaps dynamic loading library module like LVM2) would be required in the near future.
If so, I apologize very much for confusing you. What I meant on the comment above was:
o stay all in-tree codes as built-in
o add a new dynamic loading feature for out-of-tree codes
My exact image is like crash command (http://people.redhat.com/anderson/).
It has many built-in sub-commands for kernel core components (e.g. bt, list). And it has 'extend' sub-command to load a shared library and to add extra sub-commands.
In multipath-tools, I thought we could specify shared libraries in multipath.conf like below:
defaults {
extention new_prioritizer1.so
extention new_prioritizer2.so
}Anyway, if all distros support dynamic loading on initrd environment like Fedora, the patch series shouldn't matter. But I'm not sure. If there are such distros, we should take the approach above or another solution like:
o specify at build time whether in-tree prioritizers/checkers are built into the binary or built as shared libraries
o they are built as shared libraries by default to minimize the binary size of multipath/multipathd commands
Thanks,
Kiyoshi Ueda