From: Sebastian Herbszt <herbszt@gmx.de>
To: Hannes Reinecke <hare@suse.de>
Cc: dm-devel@redhat.com, Sebastian Herbszt <herbszt@gmx.de>,
Christophe Varoqui <christophe.varoqui@gmail.com>
Subject: Re: multipathd: Add 'sysfs' prioritizer
Date: Tue, 31 May 2016 22:34:14 +0200 [thread overview]
Message-ID: <20160531223414.00004376@localhost> (raw)
In-Reply-To: <1463998828-28133-1-git-send-email-hare@suse.de>
Hannes Reinecke wrote:
> Recent kernels have an 'access_state' attribute which allows
> us to read the asymmetric access state directly from sysfs.
>
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> ---
> libmultipath/discovery.c | 33 +++++++++++++++++++++++++++++
> libmultipath/discovery.h | 2 ++
> libmultipath/prio.h | 1 +
> libmultipath/prioritizers/Makefile | 3 ++-
> libmultipath/prioritizers/sysfs.c | 43 ++++++++++++++++++++++++++++++++++++++
> libmultipath/propsel.c | 6 +++++-
> multipath/multipath.conf.5 | 14 ++++++++++++-
> 7 files changed, 99 insertions(+), 3 deletions(-)
> create mode 100644 libmultipath/prioritizers/sysfs.c
How about just adding this to the alua prioritizer?
This new feature could then depend on a "sysfs" argument.
Sebastian
next prev parent reply other threads:[~2016-05-31 20:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 10:20 multipathd: Add 'sysfs' prioritizer Hannes Reinecke
2016-05-24 17:06 ` Benjamin Marzinski
2016-05-31 20:34 ` Sebastian Herbszt [this message]
2016-06-03 7:05 ` Hannes Reinecke
2016-06-03 7:24 ` Christophe Varoqui
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=20160531223414.00004376@localhost \
--to=herbszt@gmx.de \
--cc=christophe.varoqui@gmail.com \
--cc=dm-devel@redhat.com \
--cc=hare@suse.de \
/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.