All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] misc patches
@ 2017-02-14  4:06 Benjamin Marzinski
  2017-02-14  4:06 ` [PATCH v2 1/7] kpartx: don't keep creating recursive partitions Benjamin Marzinski
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Benjamin Marzinski @ 2017-02-14  4:06 UTC (permalink / raw)
  To: device-mapper development

Here's a couple of minor features bugfixes and cleanups. The biggest
change is that the detect_checker option now sets the checker for
devices with detected ALUA to TUR. Also, udev wasn't correctly
disabling rules for multipath devices that lost their last usable
path through a table reload. This was causing lvmetad some problems
on failing multipath devices.

Differences from v1:

libmultipath: add detect_checker option
----------------------------------------
Whether a path is alua or not is now checked once during pathinfo. I'm
assuming that devices that can be optionally configured in ALUA mode
will not switch modes while the device is present. If that's not the
case, then the user would need to run "multipathd reconfigure" or reload
the service to recheck if the device is in alua mode.  multipathd used
to also rerun the detection code whenever a path was orphaned. I can add
that ability to this version as well, but it doesn't seem like the
proper place to recheck.

fix udev rules for failed multipath devices
-------------------------------------------
I fixed some typos, and changed how the rules determine if an event was
triggered by device-mapper or not, since my previous version didn't
handle coldplug events correctly.

Benjamin Marzinski (7):
  kpartx: don't keep creating recursive partitions
  libmultipath: add detect_checker option
  libmultipath: cleanup orphan device states
  multipathd: don't update priority of failed paths
  multipathd: add messages on delayed path addition
  multipathd: allow resetting stats
  fix udev rules for failed multipath devices

 kpartx/dos.c                |  2 +-
 libmultipath/config.c       |  3 ++
 libmultipath/config.h       |  2 ++
 libmultipath/defaults.h     |  1 +
 libmultipath/devmapper.c    |  3 +-
 libmultipath/devmapper.h    |  6 ++++
 libmultipath/dict.c         | 10 +++++++
 libmultipath/discovery.c    | 29 ++++++++++++++++++--
 libmultipath/hwtable.c      |  1 +
 libmultipath/print.c        |  4 +--
 libmultipath/propsel.c      | 32 +++++++++++++++-------
 libmultipath/propsel.h      |  1 +
 libmultipath/structs.h      | 14 ++++++++++
 multipath/11-dm-mpath.rules | 67 +++++++++++++++++++++++++++++++--------------
 multipath/multipath.conf.5  | 18 ++++++++++++
 multipathd/cli.c            |  2 ++
 multipathd/cli_handlers.c   | 44 +++++++++++++++++++++++++++++
 multipathd/cli_handlers.h   |  2 ++
 multipathd/main.c           |  8 +++++-
 19 files changed, 212 insertions(+), 37 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2017-02-14 15:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14  4:06 [PATCH v2 0/7] misc patches Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 1/7] kpartx: don't keep creating recursive partitions Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 2/7] libmultipath: add detect_checker option Benjamin Marzinski
2017-02-14 15:40   ` Hannes Reinecke
2017-02-14  4:06 ` [PATCH v2 3/7] libmultipath: cleanup orphan device states Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 4/7] multipathd: don't update priority of failed paths Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 5/7] multipathd: add messages on delayed path addition Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 6/7] multipathd: allow resetting stats Benjamin Marzinski
2017-02-14  4:06 ` [PATCH v2 7/7] fix udev rules for failed multipath devices 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.