add PRIO_IET to libmultipath/prio.h and sort them alphabetically. "datacore" and "iet" are missing in multipath.conf.5 !!! Cc: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Cc: Hannes Reinecke <hare@xxxxxxx> Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx> Cc: device-mapper development <dm-devel@xxxxxxxxxx> Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx> --- libmultipath/prio.h | 21 +++++++++++---------- libmultipath/prioritizers/Makefile | 16 ++++++++-------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/libmultipath/prio.h b/libmultipath/prio.h index 495688f..258dee7 100644 --- a/libmultipath/prio.h +++ b/libmultipath/prio.h @@ -19,16 +19,17 @@ struct path; /* * Known prioritizers for use in hwtable.c */ -#define PRIO_ALUA "alua" -#define PRIO_CONST "const" -#define PRIO_EMC "emc" -#define PRIO_HDS "hds" -#define PRIO_HP_SW "hp_sw" -#define PRIO_ONTAP "ontap" -#define PRIO_RANDOM "random" -#define PRIO_RDAC "rdac" -#define PRIO_DATACORE "datacore" -#define PRIO_WEIGHTED_PATH "weightedpath" +#define PRIO_ALUA "alua" +#define PRIO_CONST "const" +#define PRIO_DATACORE "datacore" +#define PRIO_EMC "emc" +#define PRIO_HDS "hds" +#define PRIO_HP_SW "hp_sw" +#define PRIO_IET "iet" +#define PRIO_ONTAP "ontap" +#define PRIO_RANDOM "random" +#define PRIO_RDAC "rdac" +#define PRIO_WEIGHTED_PATH "weightedpath" /* * Value used to mark the fact prio was not defined diff --git a/libmultipath/prioritizers/Makefile b/libmultipath/prioritizers/Makefile index 6cfac88..ca7b85c 100644 --- a/libmultipath/prioritizers/Makefile +++ b/libmultipath/prioritizers/Makefile @@ -5,17 +5,17 @@ include ../../Makefile.inc LIBS = \ - libpriorandom.so \ - libprioconst.so \ - libpriohp_sw.so \ - libprioemc.so \ - libpriordac.so \ libprioalua.so \ - libprioontap.so \ + libprioconst.so \ libpriodatacore.so \ + libprioemc.so \ libpriohds.so \ - libprioweightedpath.so \ - libprioiet.so + libpriohp_sw.so \ + libprioiet.so \ + libprioontap.so \ + libpriorandom.so \ + libpriordac.so \ + libprioweightedpath.so CFLAGS += -I.. -- 2.5.5 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel