Skip to content

SLES resync

Hannes Reinecke dm-devel 1 version NAK

Status from this message: NAK

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest57 patches 56 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/57kpartx: Fixup persistent name generationkpartx/kpartx.rules kpartx/kpartx_id+4 -180 replies
2/57kpartx: handle more than 256 loop deviceskpartx/lopart.c+49 -570 replies
3/57kpartx: parse emulated DASD deviceskpartx/dasd.c kpartx/dasd.h+34 -60 replies
4/57kpartx: Install rules file with correct prefixkpartx/Makefile+4 -20 replies
5/57Add HP MSA 2040 to the hardware tablelibmultipath/hwtable.c+15 -07 replies
6/57Use ALUA for HP 3PARlibmultipath/hwtable.c+6 -63 replies
7/57Add LIO-ORG/SUSE RBD backend hardware defaultslibmultipath/hwtable.c+14 -01 reply
8/57Allow for empty SCSI revisionlibmultipath/discovery.c+1 -10 replies
9/57libmultipath: Do not use 'sscanf' for parsing integerslibmultipath/discovery.c+13 -80 replies
10/57libmultipath: finally fix dev_loss_tmo settinglibmultipath/defaults.h libmultipath/discovery.c multipath/multipath.conf.5+39 -360 replies
11/57multipathd: fixup queueing mode in 'show maps status'libmultipath/print.c multipathd/cli_handlers.c multipathd/main.c+7 -50 replies
12/57multipathd: fixup a crash when invoking CLI commandsmultipathd/main.c+1 -00 replies
13/57multipathd: print error message for invalid argumentsmultipathd/main.c+3 -10 replies
14/57libmultipath: correctly initialize pp->sg_idlibmultipath/structs.c+1 -00 replies
15/57libmultipath: correctly display checker statuslibmultipath/print.c+1 -10 replies
16/57libmultipath: call get_uid() for all pathslibmultipath/discovery.c+7 -60 replies
17/57libmultipath: additional logging messages when formatting calloutlibmultipath/callout.c+4 -20 replies
18/57libmpathpersist: Fixup whitespaces in Makefilelibmpathpersist/Makefile+2 -20 replies
19/57multipathd: Do not print misleading message 'not found in pathvec'libmultipath/structs.c+0 -23 replies
20/57multipathd: Do not update the paths vec when removing pathsmultipathd/main.c+6 -74 replies
21/57libmultipath: avoid double semicolon in lock.hlibmultipath/lock.h+2 -20 replies
22/57multipath: use option '-i' when called from udevmultipath/multipath.rules+1 -15 replies
23/57multipath: remove warning 'failed to get wwid'multipath/main.c+0 -12 replies
24/57Add dependency on systemd-udevd.servicemultipathd/multipathd.service+1 -10 replies
25/57Load all device handler modules on startupmultipathd/multipathd.service+1 -10 replies
26/5711-dm-mpath.rules: Only import ID_FS_XXX variables if not setmultipath/11-dm-mpath.rules+5 -50 replies
27/57Ensure multipathd is started before systemd-udev-trigger.servicemultipathd/multipathd.service+1 -10 replies
28/57libmultipath: use a shared lock to co-operate with udevlibmultipath/configure.c+1 -18 replies
29/57Only filter for udev property if uid_attribute is presentlibmultipath/configure.c+6 -30 replies
30/57multipathd: skip uninitialized devices during reconfigurationlibmultipath/discovery.c+1 -02 replies
31/57multipathd: improve uxlsnrmultipathd/main.c multipathd/uxlsnr.c+53 -370 replies
32/57libmultipath: remove 'needsync' argument from dm_simplecmd_noflushlibmultipath/configure.c libmultipath/devmapper.c libmultipath/devmapper.h+5 -50 replies
33/57libmultipath: remove 'use_uuid' argument from dm_addmap()libmultipath/devmapper.c+6 -70 replies
34/57Always set DM_UDEV_DISABLE_LIBRARY_FALLBACKlibmultipath/devmapper.c+7 -30 replies
35/57libmultipath: pass in cookie as argument for dm_simplecmd()libmultipath/devmapper.c+16 -90 replies
36/57libmultipath: pass in 'cookie' as argument for dm_addmap()libmultipath/devmapper.c+14 -96 replies
37/57Remove 'udev_sync' argument from dm_simplecmd()libmultipath/devmapper.c+12 -91 reply
38/57libmultipath: Fixup 'DM_DEVICE_RELOAD' handlinglibmultipath/configure.c libmultipath/devmapper.c libmultipath/devmapper.h+32 -250 replies
39/57devmapper: do not flush I/O for DM_DEVICE_CREATElibmultipath/devmapper.c+10 -50 replies
40/57libmultipath: fixup dm_rename to complete cookie on failurelibmultipath/devmapper.c+3 -11 reply
41/57multipathd: accept zero-size paths in ev_add_path()multipathd/main.c+1 -10 replies
42/57Use multipath wwid if path wwid is emptylibmultipath/dmparser.c+7 -10 replies
43/57multipathd: set uxsock_timeout after reconfigurationmultipathd/main.c multipathd/main.h multipathd/uxlsnr.c+10 -110 replies
44/57multipathd: Do not switch paths on empty multipath tablesmultipathd/main.c+3 -00 replies
45/57libmultipath: remove 'get_info' argument for adopt_paths()libmultipath/structs_vec.c libmultipath/structs_vec.h multipathd/main.c+8 -80 replies
46/57libmultipath: ensure 'dev_t' is set when store pathslibmultipath/discovery.c+10 -00 replies
47/57libmultipath: sanity check on store_path()libmultipath/structs.c+14 -00 replies
48/57dmparser: Use find_path_by_dev()libmultipath/configure.c libmultipath/dmparser.c+16 -20 replies
49/57multipathd: do not flush maps on startupmultipathd/main.c+1 -12 replies
50/57multipathd: strict loop timingslibmultipath/config.h libmultipath/dict.c multipath/multipath.conf.5 +1 more+87 -110 replies
51/57multipathd: Provide standard error description on cli failuremultipathd/cli.c+37 -160 replies
52/57libmultipath: make 'dm_addmap' staticlibmultipath/devmapper.c+1 -10 replies
53/57multipathd: implement 'show map $map format $fmt'multipathd/cli.c multipathd/cli_handlers.c multipathd/cli_handlers.h +1 more+73 -01 reply
54/57multipathd: Increase uxclnt timeoutmultipathd/main.c+2 -20 replies
55/57multipathd: asynchronous configurationlibmultipath/uevent.c multipathd/cli_handlers.c multipathd/main.c +1 more+157 -883 replies
56/57multipathd: push down lock in checkerloop()multipathd/main.c+87 -494 replies
57/57Allow specific CLI commands to run unlockedmultipathd/cli.c multipathd/cli.h multipathd/main.c+59 -171 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/57] SLES resync

Hi all,

as promised several times, here's now a patchset with all the patches queued up in my SLES repository.

The first bits are pretty much uncontroversial (I hope), mainly fixes etc. Next there are some systemd updates, setting dependencies and such.

The _really_ important patch is

multipathd: skip uninitialized devices during reconfiguration

which basically is the cause for all the missing wwid issues we've seen. So I wonder if we shouldn't just do away with all the tweaks we've accumlated so far and see if that patch isn't sufficient. According to Kay Sievers it should...

Next is a general overhaul of the 'cookie' mechanism; Ben, Mike, mind to have a look here? It _seems_ reasonable enough, but it would be nice to have additional confirmation for that.

Finally there are patches which probably require some more discussion:
- Asynchronous configuration: Do not call 'reconfigure' directly, but rather set the daemon_status to 'configuration' and defer the actual work to the main thread. This allows us to decouple it from the CLI call, and we won't run into any udev/systemd timeout issues when booting on large installations
- Lock pushdown: I remember to have sent this patch already at one point, but it got rejected. So I try again :-)
With this patch the big vector lock is pushed down to the areas where we actually need it, making the entire system running far smoother during booting or failover in large instances. We have been using this patch since SLE12 GA, ie for over two years now. And seem to have ironed out all issues with it.

The entire patchset can be found at:

github.com:/hreinecke/multipath-tools.git
branch sles-resync

As usual, comments and reviews are welcome.
Patches are based upon the latest git, including Bens patchset.

Hannes Reinecke (57):
kpartx: Fixup persistent name generation
kpartx: handle more than 256 loop devices
kpartx: parse emulated DASD devices
kpartx: Install rules file with correct prefix
Add HP MSA 2040 to the hardware table
Use ALUA for HP 3PAR
Add LIO-ORG/SUSE RBD backend hardware defaults
Allow for empty SCSI revision
libmultipath: Do not use 'sscanf' for parsing integers
libmultipath: finally fix dev_loss_tmo setting
multipathd: fixup queueing mode in 'show maps status'
multipathd: fixup a crash when invoking CLI commands
multipathd: print error message for invalid arguments
libmultipath: correctly initialize pp->sg_id
libmultipath: correctly display checker status
libmultipath: call get_uid() for all paths
libmultipath: additional logging messages when formatting callout
libmpathpersist: Fixup whitespaces in Makefile
multipathd: Do not print misleading message 'not found in pathvec'
multipathd: Do not update the paths vec when removing paths
libmultipath: avoid double semicolon in lock.h
multipath: use option '-i' when called from udev
multipath: remove warning 'failed to get wwid'
Add dependency on systemd-udevd.service
Load all device handler modules on startup 11-dm-mpath.rules: Only import ID_FS_XXX variables if not set Ensure multipathd is started before systemd-udev-trigger.service
libmultipath: use a shared lock to co-operate with udev Only filter for udev property if uid_attribute is present
multipathd: skip uninitialized devices during reconfiguration
multipathd: improve uxlsnr
libmultipath: remove 'needsync' argument from dm_simplecmd_noflush
libmultipath: remove 'use_uuid' argument from dm_addmap() Always set DM_UDEV_DISABLE_LIBRARY_FALLBACK
libmultipath: pass in cookie as argument for dm_simplecmd()
libmultipath: pass in 'cookie' as argument for dm_addmap() Remove 'udev_sync' argument from dm_simplecmd()
libmultipath: Fixup 'DM_DEVICE_RELOAD' handling
devmapper: do not flush I/O for DM_DEVICE_CREATE
libmultipath: fixup dm_rename to complete cookie on failure
multipathd: accept zero-size paths in ev_add_path()
Use multipath wwid if path wwid is empty
multipathd: set uxsock_timeout after reconfiguration
multipathd: Do not switch paths on empty multipath tables
libmultipath: remove 'get_info' argument for adopt_paths()
libmultipath: ensure 'dev_t' is set when store paths
libmultipath: sanity check on store_path()
dmparser: Use find_path_by_dev()
multipathd: do not flush maps on startup
multipathd: strict loop timings
multipathd: Provide standard error description on cli failure
libmultipath: make 'dm_addmap' static
multipathd: implement 'show map $map format $fmt'
multipathd: Increase uxclnt timeout
multipathd: asynchronous configuration
multipathd: push down lock in checkerloop()
Allow specific CLI commands to run unlocked

 kpartx/Makefile               |   6 +-
 kpartx/dasd.c                 |  39 +++-
 kpartx/dasd.h                 |   1 +
 kpartx/kpartx.rules           |  11 +-
 kpartx/kpartx_id              |  11 +-
 kpartx/lopart.c               | 106 +++++----
 libmpathpersist/Makefile      |   4 +-
 libmultipath/callout.c        |   6 +-
 libmultipath/config.h         |   1 +
 libmultipath/configure.c      |  33 ++-
 libmultipath/defaults.h       |   1 +
 libmultipath/devmapper.c      | 114 ++++++----
 libmultipath/devmapper.h      |   4 +-
 libmultipath/dict.c           |   4 +
 libmultipath/discovery.c      | 115 +++++-----
 libmultipath/dmparser.c       |  20 +-
 libmultipath/hwtable.c        |  41 +++-
 libmultipath/lock.h           |   4 +-
 libmultipath/print.c          |   6 +-
 libmultipath/structs.c        |  17 +-
 libmultipath/structs_vec.c    |  10 +-
 libmultipath/structs_vec.h    |   2 +-
 libmultipath/uevent.c         |  10 +-
 multipath/11-dm-mpath.rules   |  10 +-
 multipath/main.c              |   1 -
 multipath/multipath.conf.5    |  16 +-
 multipath/multipath.rules     |   2 +-
 multipathd/cli.c              | 101 +++++++--
 multipathd/cli.h              |   4 +-
 multipathd/cli_handlers.c     |  85 +++++++-
 multipathd/cli_handlers.h     |   2 +
 multipathd/main.c             | 486 +++++++++++++++++++++++++++++-------------
 multipathd/main.h             |   3 +
 multipathd/multipathd.service |   6 +-
 multipathd/uxlsnr.c           |  97 +++++----
 35 files changed, 923 insertions(+), 456 deletions(-)
Signature · 1 line
2.6.6