Various multipath-tools patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | libmultipath: move logq_lock handling to log.clibmultipath/ libmultipath/ | +32 | 1 reply | |
| 2/7 | libmultipath: protect logarea with logq_locklibmultipath/ libmultipath/ | +23 | 3 replies | |
| 3/7 | libmultipath: prevent DSO unloading with astray checker threadslibmultipath/ libmultipath/ libmultipath/ +1 more | +97 | 1 reply | |
| 4/7 | libmultipath: force map reload if udev incompletelibmultipath/ | +29 | 4 replies | |
| 5/7 | multipath-tools: avoid access to /etc/localtimelibmultipath/ libmultipath/ libmultipath/ +1 more | +14 | 1 reply | |
| 6/7 | multipath-tools: make sure plugin DSOs use symbol versionsMakefile Makefile.inc libmpathpersist/ +3 more | +15 | 1 reply | |
| 7/7 | libmultipath.version: add missing symbollibmultipath/ | +5 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Benjamin Marzinski |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH 0/7] Various multipath-tools patches
From: Martin Wilck <[email protected]>
Hi Christophe, hi Ben,
here are a few patches that have accumulated while I hadn't fixed my previous series "libmultipath: improve cleanup on exit"
The first two are actually related to the log_thread work I did in that series, but they're additional fixes on top and I didn't want to delay that series further by adding additional, possibly controversial stuff.
No 3 is the 2nd attempt to allow unloading of checker DSOs, hopefully fixing the issues Ben saw with the first one.
No 4 is probably the most important one. It fixes the same issue that 2b25a9e and cb10d38 targeted, but the previous fixes still didn't cover all corner cases. This one does, I believe.
No 5 tackles a new failure mode we recently discovered - multipathd may block trying to access the root FS while this is in queuing mode. This patch removes one very frequent access pattern.
This is work in progress; there are other file system accesses from multipathd which might block.
Obviously the wwids, prkeys, and bindings files' contents need to be cached. I haven't made up my mind how to handle writing changes back. Would be sufficient to write back when multipathd exits, possibly with an external program (e.g. "ExecStartPost")? Or should we try to write back directly at runtime, using separate threads to avoid blocking of the main thread? "reconfigure" is another issue, but perhaps less problematic - if the root FS is blocked, users couldn't edit /etc/multipath.conf anyway. One might consider moving everything to tmpfs or even running in a tmpfs-backed chroot, but it still would beg the question how to make certain changes permanent, like wwids and bindings.
6 and 7 fix oversights in my library versioning series. The plugins didn't have symbol versions set on the symbols they referenced, making the versioning at least partly non-functional.
Regards
Martin
Martin Wilck (7):
libmultipath: move logq_lock handling to log.c
libmultipath: protect logarea with logq_lock
libmultipath: prevent DSO unloading with astray checker threads
libmultipath: force map reload if udev incomplete
multipath-tools: avoid access to /etc/localtime
multipath-tools: make sure plugin DSOs use symbol versions libmultipath.version: add missing symbol
Makefile | 1 + Makefile.inc | 2 +- libmpathpersist/Makefile | 8 ++-- libmultipath/checkers.c | 68 +++++++++++++++++++++++++++--- libmultipath/checkers.h | 25 +++++++++++ libmultipath/checkers/Makefile | 7 ++- libmultipath/checkers/tur.c | 12 +++--- libmultipath/configure.c | 45 +++++++++++++------- libmultipath/debug.c | 14 +++--- libmultipath/devmapper.c | 12 +++--- libmultipath/foreign/Makefile | 4 +- libmultipath/libmultipath.version | 10 +++++ libmultipath/log.c | 59 ++++++++++++++++++++++---- libmultipath/log.h | 1 - libmultipath/log_pthread.c | 9 ---- libmultipath/prioritizers/Makefile | 7 ++- multipathd/main.c | 3 -- 17 files changed, 211 insertions(+), 76 deletions(-)
Signature · 7 lines
2.29.0 -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel