All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/57] SLES resync
@ 2016-04-27 11:10 Hannes Reinecke
  2016-04-27 11:10 ` [PATCH 01/57] kpartx: Fixup persistent name generation Hannes Reinecke
                   ` (58 more replies)
  0 siblings, 59 replies; 114+ messages in thread
From: Hannes Reinecke @ 2016-04-27 11:10 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: dm-devel, Mike Snitzer

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

-- 
2.6.6

^ permalink raw reply	[flat|nested] 114+ messages in thread

end of thread, other threads:[~2016-06-11 10:06 UTC | newest]

Thread overview: 114+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 11:10 [PATCH 00/57] SLES resync Hannes Reinecke
2016-04-27 11:10 ` [PATCH 01/57] kpartx: Fixup persistent name generation Hannes Reinecke
2016-04-27 11:10 ` [PATCH 02/57] kpartx: handle more than 256 loop devices Hannes Reinecke
2016-04-27 11:10 ` [PATCH 03/57] kpartx: parse emulated DASD devices Hannes Reinecke
2016-04-27 11:10 ` [PATCH 04/57] kpartx: Install rules file with correct prefix Hannes Reinecke
2016-04-27 11:10 ` [PATCH 05/57] Add HP MSA 2040 to the hardware table Hannes Reinecke
2016-04-28 22:06   ` Sebastian Herbszt
2016-04-29  5:55     ` Hannes Reinecke
2016-05-01 21:30       ` Sebastian Herbszt
2016-06-09 14:20       ` Xose Vazquez Perez
2016-06-10  6:17         ` Hannes Reinecke
2016-06-10 14:30           ` Xose Vazquez Perez
2016-06-11 10:06             ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 06/57] Use ALUA for HP 3PAR Hannes Reinecke
2016-04-28 22:25   ` Sebastian Herbszt
2016-04-29  5:58     ` Hannes Reinecke
2016-05-01 21:46       ` Sebastian Herbszt
2016-04-27 11:10 ` [PATCH 07/57] Add LIO-ORG/SUSE RBD backend hardware defaults Hannes Reinecke
2016-04-28 22:32   ` Sebastian Herbszt
2016-04-27 11:10 ` [PATCH 08/57] Allow for empty SCSI revision Hannes Reinecke
2016-04-27 11:10 ` [PATCH 09/57] libmultipath: Do not use 'sscanf' for parsing integers Hannes Reinecke
2016-04-27 11:10 ` [PATCH 10/57] libmultipath: finally fix dev_loss_tmo setting Hannes Reinecke
2016-04-27 11:10 ` [PATCH 11/57] multipathd: fixup queueing mode in 'show maps status' Hannes Reinecke
2016-04-27 11:10 ` [PATCH 12/57] multipathd: fixup a crash when invoking CLI commands Hannes Reinecke
2016-04-27 11:10 ` [PATCH 13/57] multipathd: print error message for invalid arguments Hannes Reinecke
2016-04-27 11:10 ` [PATCH 14/57] libmultipath: correctly initialize pp->sg_id Hannes Reinecke
2016-04-27 11:10 ` [PATCH 15/57] libmultipath: correctly display checker status Hannes Reinecke
2016-04-27 11:10 ` [PATCH 16/57] libmultipath: call get_uid() for all paths Hannes Reinecke
2016-04-27 11:10 ` [PATCH 17/57] libmultipath: additional logging messages when formatting callout Hannes Reinecke
2016-04-27 11:10 ` [PATCH 18/57] libmpathpersist: Fixup whitespaces in Makefile Hannes Reinecke
2016-04-27 11:10 ` [PATCH 19/57] multipathd: Do not print misleading message 'not found in pathvec' Hannes Reinecke
2016-05-02 15:40   ` Benjamin Marzinski
2016-05-03  5:47     ` Hannes Reinecke
2016-05-03  7:27       ` Christophe Varoqui
2016-04-27 11:10 ` [PATCH 20/57] multipathd: Do not update the paths vec when removing paths Hannes Reinecke
2016-04-29 22:39   ` Benjamin Marzinski
2016-05-02  5:48     ` Hannes Reinecke
2016-05-02 15:12       ` Benjamin Marzinski
2016-05-02 17:46         ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 21/57] libmultipath: avoid double semicolon in lock.h Hannes Reinecke
2016-04-27 11:10 ` [PATCH 22/57] multipath: use option '-i' when called from udev Hannes Reinecke
2016-05-02 15:31   ` Benjamin Marzinski
2016-05-03  5:44     ` Hannes Reinecke
2016-05-03  6:37       ` Christophe Varoqui
2016-05-03 14:14         ` Benjamin Marzinski
2016-05-03 14:39           ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 23/57] multipath: remove warning 'failed to get wwid' Hannes Reinecke
2016-05-02 15:43   ` Benjamin Marzinski
2016-05-03  5:48     ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 24/57] Add dependency on systemd-udevd.service Hannes Reinecke
2016-04-27 11:10 ` [PATCH 25/57] Load all device handler modules on startup Hannes Reinecke
2016-04-27 11:10 ` [PATCH 26/57] 11-dm-mpath.rules: Only import ID_FS_XXX variables if not set Hannes Reinecke
2016-04-27 11:10 ` [PATCH 27/57] Ensure multipathd is started before systemd-udev-trigger.service Hannes Reinecke
2016-04-27 11:10 ` [PATCH 28/57] libmultipath: use a shared lock to co-operate with udev Hannes Reinecke
2016-05-02 16:26   ` Benjamin Marzinski
2016-05-03  5:57     ` Hannes Reinecke
2016-05-03 14:27       ` Benjamin Marzinski
2016-05-03 14:38         ` Alasdair G Kergon
2016-05-03 14:47         ` Benjamin Marzinski
2016-05-03 15:31         ` Germano Percossi
2016-05-03 20:23           ` Benjamin Marzinski
2016-05-04 11:25             ` Germano Percossi
2016-04-27 11:10 ` [PATCH 29/57] Only filter for udev property if uid_attribute is present Hannes Reinecke
2016-04-27 11:10 ` [PATCH 30/57] multipathd: skip uninitialized devices during reconfiguration Hannes Reinecke
2016-05-02 19:14   ` Benjamin Marzinski
2016-05-03  6:04     ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 31/57] multipathd: improve uxlsnr Hannes Reinecke
2016-04-27 11:10 ` [PATCH 32/57] libmultipath: remove 'needsync' argument from dm_simplecmd_noflush Hannes Reinecke
2016-04-27 11:10 ` [PATCH 33/57] libmultipath: remove 'use_uuid' argument from dm_addmap() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 34/57] Always set DM_UDEV_DISABLE_LIBRARY_FALLBACK Hannes Reinecke
2016-04-27 11:10 ` [PATCH 35/57] libmultipath: pass in cookie as argument for dm_simplecmd() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 36/57] libmultipath: pass in 'cookie' as argument for dm_addmap() Hannes Reinecke
2016-05-02 22:23   ` Benjamin Marzinski
2016-05-03  6:24     ` Hannes Reinecke
2016-05-03  9:31     ` Hannes Reinecke
2016-05-03 14:39       ` Benjamin Marzinski
2016-05-03 14:43         ` Hannes Reinecke
2016-05-03 14:57           ` Benjamin Marzinski
2016-04-27 11:10 ` [PATCH 37/57] Remove 'udev_sync' argument from dm_simplecmd() Hannes Reinecke
2016-05-02 23:33   ` Benjamin Marzinski
2016-04-27 11:10 ` [PATCH 38/57] libmultipath: Fixup 'DM_DEVICE_RELOAD' handling Hannes Reinecke
2016-04-27 11:10 ` [PATCH 39/57] devmapper: do not flush I/O for DM_DEVICE_CREATE Hannes Reinecke
2016-04-27 11:10 ` [PATCH 40/57] libmultipath: fixup dm_rename to complete cookie on failure Hannes Reinecke
2016-05-03  1:16   ` Benjamin Marzinski
2016-04-27 11:10 ` [PATCH 41/57] multipathd: accept zero-size paths in ev_add_path() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 42/57] Use multipath wwid if path wwid is empty Hannes Reinecke
2016-04-27 11:10 ` [PATCH 43/57] multipathd: set uxsock_timeout after reconfiguration Hannes Reinecke
2016-04-27 11:10 ` [PATCH 44/57] multipathd: Do not switch paths on empty multipath tables Hannes Reinecke
2016-04-27 11:10 ` [PATCH 45/57] libmultipath: remove 'get_info' argument for adopt_paths() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 46/57] libmultipath: ensure 'dev_t' is set when store paths Hannes Reinecke
2016-04-27 11:10 ` [PATCH 47/57] libmultipath: sanity check on store_path() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 48/57] dmparser: Use find_path_by_dev() Hannes Reinecke
2016-04-27 11:10 ` [PATCH 49/57] multipathd: do not flush maps on startup Hannes Reinecke
2016-05-03  2:30   ` Benjamin Marzinski
2016-05-03  6:35     ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 50/57] multipathd: strict loop timings Hannes Reinecke
2016-04-27 11:10 ` [PATCH 51/57] multipathd: Provide standard error description on cli failure Hannes Reinecke
2016-04-27 11:10 ` [PATCH 52/57] libmultipath: make 'dm_addmap' static Hannes Reinecke
2016-04-27 11:10 ` [PATCH 53/57] multipathd: implement 'show map $map format $fmt' Hannes Reinecke
2016-05-03 16:21   ` Benjamin Marzinski
2016-04-27 11:10 ` [PATCH 54/57] multipathd: Increase uxclnt timeout Hannes Reinecke
2016-04-27 11:10 ` [PATCH 55/57] multipathd: asynchronous configuration Hannes Reinecke
2016-05-03 18:23   ` Benjamin Marzinski
2016-05-03 18:25   ` Benjamin Marzinski
2016-05-04  6:47     ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 56/57] multipathd: push down lock in checkerloop() Hannes Reinecke
2016-05-03 22:17   ` Benjamin Marzinski
2016-05-03 23:24     ` Benjamin Marzinski
2016-05-04  6:40       ` Hannes Reinecke
2016-05-04  6:39     ` Hannes Reinecke
2016-04-27 11:10 ` [PATCH 57/57] Allow specific CLI commands to run unlocked Hannes Reinecke
2016-05-04  3:02   ` Benjamin Marzinski
2016-05-03  7:23 ` [PATCH 00/57] SLES resync Christophe Varoqui
2016-05-04  3:06 ` Benjamin Marzinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.