[dm-devel] [PATCH 0/3] sysfs prioritizer

Christophe Varoqui christophe.varoqui at opensvc.com
Fri Jul 22 09:44:01 UTC 2016


Finally merged.
Thanks.

On Fri, Jul 15, 2016 at 8:48 AM, Hannes Reinecke <hare at suse.de> wrote:

> Hi all,
>
> this is a resend of a previous patchset for adding a 'sysfs'
> prioritizer. This prioritizer uses the sysfs attributes
> 'access_state' and 'exclusive_pref_bit' to generate the
> path priority.
> Priority values are identical to those from the 'alua'
> prioritizer.
>
> Note: the mentioned sysfs attributes are filled in by
> every device handler, but only the 'alua' handler has
> enough logic to keep them up-to-date.
> So use with caution for other device handlers.
>
> Hannes Reinecke (3):
>   libmultipath: call get_vpd_uid() if no uid_attribute is set
>   alua prioritizer: Fix typo 'perf'
>   multipathd: Add 'sysfs' prioritizer
>
>  libmultipath/discovery.c           | 36 ++++++++++++++++++++++
>  libmultipath/discovery.h           |  2 ++
>  libmultipath/prio.h                |  1 +
>  libmultipath/prioritizers/Makefile |  3 +-
>  libmultipath/prioritizers/alua.c   |  8 ++---
>  libmultipath/prioritizers/sysfs.c  | 61
> ++++++++++++++++++++++++++++++++++++++
>  libmultipath/propsel.c             |  6 +++-
>  multipath/multipath.conf.5         | 19 ++++++++++--
>  8 files changed, 127 insertions(+), 9 deletions(-)
>  create mode 100644 libmultipath/prioritizers/sysfs.c
>
> --
> 2.6.6
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160722/82b926ce/attachment.htm>


More information about the dm-devel mailing list