[dm-devel] [PATCH 0/2] multipathd: Add 'sysfs' prioritizer

Hannes Reinecke hare at suse.de
Fri Jun 3 08:34:20 UTC 2016


Hi all,

hardly necessary to send an entire patchset, but there you go.
I've now modified the sysfs prioritizer to generate the same
priority the alua one would do, including the 'exclusive_pref_bit'
setting.
So this should address the issues Ben raised.

Hannes Reinecke (2):
  alua prioritizer: Fix typo 'perf'
  multipathd: Add 'sysfs' prioritizer

 libmultipath/discovery.c           | 33 +++++++++++++++++++++
 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         | 17 +++++++++--
 8 files changed, 123 insertions(+), 8 deletions(-)
 create mode 100644 libmultipath/prioritizers/sysfs.c

-- 
2.6.6




More information about the dm-devel mailing list