sysfs prioritizer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libmultipath: call get_vpd_uid() if no uid_attribute is setlibmultipath/ | +3 | 0 replies | |
| 2/3 | alua prioritizer: Fix typo 'perf'libmultipath/ | +4 | 0 replies | |
| 3/3 | multipathd: Add 'sysfs' prioritizerlibmultipath/ libmultipath/ libmultipath/ +4 more | +120 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] sysfs prioritizer
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
Signature · 1 line
2.6.6