Skip to content

multipathd: Add 'sysfs' prioritizer

Hannes Reinecke dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2alua prioritizer: Fix typo 'perf'libmultipath/prioritizers/alua.c+4 -40 replies
2/2multipathd: Add 'sysfs' prioritizerlibmultipath/discovery.c libmultipath/discovery.h libmultipath/prio.h +4 more+119 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] multipathd: Add 'sysfs' prioritizer

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
Signature · 1 line
2.6.6