<div dir="ltr">Finally merged.<div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 15, 2016 at 8:48 AM, Hannes Reinecke <span dir="ltr"><<a href="mailto:hare@suse.de" target="_blank">hare@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
this is a resend of a previous patchset for adding a 'sysfs'<br>
prioritizer. This prioritizer uses the sysfs attributes<br>
'access_state' and 'exclusive_pref_bit' to generate the<br>
path priority.<br>
Priority values are identical to those from the 'alua'<br>
prioritizer.<br>
<br>
Note: the mentioned sysfs attributes are filled in by<br>
every device handler, but only the 'alua' handler has<br>
enough logic to keep them up-to-date.<br>
So use with caution for other device handlers.<br>
<br>
Hannes Reinecke (3):<br>
  libmultipath: call get_vpd_uid() if no uid_attribute is set<br>
  alua prioritizer: Fix typo 'perf'<br>
  multipathd: Add 'sysfs' prioritizer<br>
<br>
 libmultipath/discovery.c           | 36 ++++++++++++++++++++++<br>
 libmultipath/discovery.h           |  2 ++<br>
 libmultipath/prio.h                |  1 +<br>
 libmultipath/prioritizers/Makefile |  3 +-<br>
 libmultipath/prioritizers/alua.c   |  8 ++---<br>
 libmultipath/prioritizers/sysfs.c  | 61 ++++++++++++++++++++++++++++++++++++++<br>
 libmultipath/propsel.c             |  6 +++-<br>
 multipath/multipath.conf.5         | 19 ++++++++++--<br>
 8 files changed, 127 insertions(+), 9 deletions(-)<br>
 create mode 100644 libmultipath/prioritizers/sysfs.c<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.6.6<br>
<br>
</font></span></blockquote></div><br></div>