From: Hannes Reinecke <hare@suse.de>
To: Christophe Varoqui <christophe.varoqui@gmail.com>
Cc: dm-devel@redhat.com
Subject: [PATCH 00/29] SLES resync
Date: Mon, 15 Jul 2013 15:00:01 +0200 [thread overview]
Message-ID: <1373893230-26077-1-git-send-email-hare@suse.de> (raw)
Hi Christophe,
here as some patches which accumulated in my SLES repository.
Most are plain bugfixes, but there are some nasty issues fixed
with this:
- The conversion to libudev was a bit overzealous; originally
we'd be skipping all devices which don't have a SCSI ID.
With libudev we'd be including even those, making multipath
claiming even USB flash disks :-(
So I've implemented a new 'property' blacklist which will
allow us to blacklist devices based on the udev property.
- dev_loss_tmo setting continues to be tricky, but this time
I think we've got it sorted
- When using libudev to read attribute variables we'd be getting
an automated caching from libudev. Which is nice, unless the
data changed in between. So I'd have to go back an roll our
own accessors, skipping libudev here.
- Ripping out 'getuid_callout' rendered all old configuration
files still using in unworkable. So I've re-introduced it by
marked it 'obsolete'.
As usual, comments etc are welcome.
The patchset can also be pulled from
git://github.com/hreinecke/multipath-tools.git
branch sles-resync
Hannes Reinecke (27):
multipath: bind lifetime of udev context to main thread
Document 'infinity' as possible value for dev_loss_tmo
alua: Do not add preferred path priority for active/optimized
multipath: Increase dev_loss_tmo prior to fast_io_fail
libmultipath: return PATH_DOWN for quiesced paths
libmultipath: Implement PATH_TIMEOUT
Deprecate pg_timeout
kpartx: create correct symlinks for PATH_FAILED events
multipath: Deprecate 'getuid' configuration variable
multipath: Add 'Datacore Virtual Disk' to internal hardware table
Minor fixes for priority handling
Check return value from pathinfo()
Read directly from sysfs when checking the device size
multipath.conf.annotated: Document rr_min_io_rq
Correctly print out 'max' for max_fds
Correctly set max_fds in case of failure
Update multipath.conf.defaults
Correctly set pgfailback
multipath.conf.5: clarify 'no_path_retry' default setting
multipath.conf.annotated: remove 'udev_dir'
multipath: Implement 'property' blacklist
Do not print error when rport is blocked
multipath: reference the udev context when starting event queue
multipathd: valgrind fixes
multipathd: increase stacksize for uevent listener
Specify checker_timeout in seconds
multipath: reset queue_if_no_path if flush failed
Petr Uzel (2):
kpartx: support disk with non-512B sectors
multipath: fix setting of fast_io_fail_tmo
kpartx/dos.c | 17 +--
kpartx/gpt.c | 20 +---
kpartx/kpartx.c | 12 ++
kpartx/kpartx.h | 8 ++
kpartx/kpartx.rules | 18 ++-
libmpathpersist/mpath_persist.c | 7 +-
libmpathpersist/mpath_persist.h | 2 +-
libmpathpersist/mpath_pr_ioctl.c | 5 +-
libmultipath/Makefile | 2 +-
libmultipath/blacklist.c | 105 +++++++++++++----
libmultipath/blacklist.h | 19 +--
libmultipath/callout.c | 216 ++++++++++++++++++++++++++++++++++
libmultipath/callout.h | 7 ++
libmultipath/checkers.c | 3 +-
libmultipath/checkers.h | 5 +
libmultipath/checkers/emc_clariion.c | 2 +-
libmultipath/checkers/hp_sw.c | 4 +-
libmultipath/checkers/libsg.c | 2 +-
libmultipath/checkers/rdac.c | 4 +-
libmultipath/checkers/tur.c | 4 +-
libmultipath/config.c | 44 +++++--
libmultipath/config.h | 10 +-
libmultipath/configure.c | 25 ++--
libmultipath/devmapper.c | 31 ++---
libmultipath/devmapper.h | 3 +-
libmultipath/dict.c | 195 ++++++++++++++++--------------
libmultipath/discovery.c | 170 +++++++++++++++++++-------
libmultipath/discovery.h | 2 +-
libmultipath/hwtable.c | 13 ++
libmultipath/print.c | 35 ++++++
libmultipath/prioritizers/alua.c | 2 +-
libmultipath/propsel.c | 57 +++------
libmultipath/propsel.h | 1 -
libmultipath/structs.h | 2 +-
libmultipath/structs_vec.c | 2 +-
libmultipath/sysfs.c | 86 ++++++++++++--
libmultipath/sysfs.h | 2 +
libmultipath/uevent.c | 16 ++-
libmultipath/uevent.h | 4 +-
mpathpersist/main.c | 11 +-
multipath.conf.annotated | 40 +++++--
multipath.conf.defaults | 112 ++++++++++--------
multipath/main.c | 27 +++--
multipath/multipath.conf.5 | 27 ++++-
multipathd/main.c | 19 ++-
45 files changed, 1007 insertions(+), 391 deletions(-)
create mode 100644 libmultipath/callout.c
create mode 100644 libmultipath/callout.h
--
1.7.10.4
next reply other threads:[~2013-07-15 13:00 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 13:00 Hannes Reinecke [this message]
2013-07-15 13:00 ` [PATCH 01/29] multipath: bind lifetime of udev context to main thread Hannes Reinecke
2013-07-15 13:00 ` [PATCH 02/29] Document 'infinity' as possible value for dev_loss_tmo Hannes Reinecke
2013-07-15 13:00 ` [PATCH 03/29] alua: Do not add preferred path priority for active/optimized Hannes Reinecke
2013-07-15 13:00 ` [PATCH 04/29] multipath: Increase dev_loss_tmo prior to fast_io_fail Hannes Reinecke
2013-07-15 13:00 ` [PATCH 05/29] libmultipath: return PATH_DOWN for quiesced paths Hannes Reinecke
2013-07-15 13:00 ` [PATCH 06/29] libmultipath: Implement PATH_TIMEOUT Hannes Reinecke
2013-07-15 13:00 ` [PATCH 07/29] Deprecate pg_timeout Hannes Reinecke
2013-07-15 13:00 ` [PATCH 08/29] kpartx: create correct symlinks for PATH_FAILED events Hannes Reinecke
2013-07-15 13:00 ` [PATCH 09/29] multipath: Deprecate 'getuid' configuration variable Hannes Reinecke
2013-07-15 13:00 ` [PATCH 10/29] kpartx: support disk with non-512B sectors Hannes Reinecke
2013-07-15 13:00 ` [PATCH 11/29] multipath: Add 'Datacore Virtual Disk' to internal hardware table Hannes Reinecke
2013-07-15 13:00 ` [PATCH 12/29] Minor fixes for priority handling Hannes Reinecke
2013-07-15 13:00 ` [PATCH 13/29] Check return value from pathinfo() Hannes Reinecke
2013-07-15 13:00 ` [PATCH 14/29] Read directly from sysfs when checking the device size Hannes Reinecke
2013-07-15 13:00 ` [PATCH 15/29] multipath.conf.annotated: Document rr_min_io_rq Hannes Reinecke
2013-07-15 13:00 ` [PATCH 16/29] Correctly print out 'max' for max_fds Hannes Reinecke
2013-07-15 13:00 ` [PATCH 17/29] Correctly set max_fds in case of failure Hannes Reinecke
2013-07-15 13:00 ` [PATCH 18/29] Update multipath.conf.defaults Hannes Reinecke
2013-07-15 13:00 ` [PATCH 19/29] Correctly set pgfailback Hannes Reinecke
2013-07-15 13:00 ` [PATCH 20/29] multipath.conf.5: clarify 'no_path_retry' default setting Hannes Reinecke
2013-07-15 13:00 ` [PATCH 21/29] multipath.conf.annotated: remove 'udev_dir' Hannes Reinecke
2013-07-15 13:00 ` [PATCH 22/29] multipath: Implement 'property' blacklist Hannes Reinecke
2013-07-15 13:00 ` [PATCH 23/29] Do not print error when rport is blocked Hannes Reinecke
2013-07-15 13:00 ` [PATCH 24/29] multipath: reference the udev context when starting event queue Hannes Reinecke
2013-07-15 13:00 ` [PATCH 25/29] multipathd: valgrind fixes Hannes Reinecke
2013-07-15 13:00 ` [PATCH 26/29] multipathd: increase stacksize for uevent listener Hannes Reinecke
2013-07-15 13:00 ` [PATCH 27/29] Specify checker_timeout in seconds Hannes Reinecke
2013-07-15 13:00 ` [PATCH 28/29] multipath: fix setting of fast_io_fail_tmo Hannes Reinecke
2013-07-15 13:00 ` [PATCH 29/29] multipath: reset queue_if_no_path if flush failed Hannes Reinecke
2013-07-15 13:53 ` [PATCH 00/29] SLES resync Sebastian Riemer
2013-07-15 14:12 ` Hannes Reinecke
2013-07-16 7:10 ` Hannes Reinecke
2013-07-16 9:20 ` Sebastian Riemer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1373893230-26077-1-git-send-email-hare@suse.de \
--to=hare@suse.de \
--cc=christophe.varoqui@gmail.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.