multipath-tools: replace spaces with tabs in defaults.h
PATCH 1/2 multipath-tools: replace spaces with tabs in defaults.h
replace spaces by tabs in defaults.h
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmultipath/defaults.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
libmultipath/defaults.h +10 -10
@@ -7,22 +7,22 @@#define DEFAULT_HWHANDLER "0"#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1 -#define DEFAULT_PGPOLICY FAILOVER -#define DEFAULT_FAILBACK -FAILBACK_MANUAL -#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE -#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF +#define DEFAULT_PGPOLICY FAILOVER +#define DEFAULT_FAILBACK -FAILBACK_MANUAL +#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE +#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF#define DEFAULT_VERBOSITY 2#define DEFAULT_REASSIGN_MAPS 0#define DEFAULT_FIND_MULTIPATHS 0#define DEFAULT_FAST_IO_FAIL 5 -#define DEFAULT_DEV_LOSS_TMO 600 +#define DEFAULT_DEV_LOSS_TMO 600#define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_OFF -#define DEFAULT_DETECT_PRIO DETECT_PRIO_OFF -#define DEFAULT_DEFERRED_REMOVE DEFERRED_REMOVE_OFF -#define DEFAULT_DELAY_CHECKS DELAY_CHECKS_OFF +#define DEFAULT_DETECT_PRIO DETECT_PRIO_OFF +#define DEFAULT_DEFERRED_REMOVE DEFERRED_REMOVE_OFF +#define DEFAULT_DELAY_CHECKS DELAY_CHECKS_OFF#define DEFAULT_UEVENT_STACKSIZE 256 -#define DEFAULT_RETRIGGER_DELAY 10 -#define DEFAULT_RETRIGGER_TRIES 3 +#define DEFAULT_RETRIGGER_DELAY 10 +#define DEFAULT_RETRIGGER_TRIES 3#define DEFAULT_UEV_WAIT_TIMEOUT 30#define DEFAULT_CHECKINT 5
Signature · 1 line
2.5.5
PATCH 2/2 multipath-tools: housekeeping at prioritizers
add PRIO_IET to libmultipath/prio.h and sort them alphabetically.
"datacore" and "iet" are missing in multipath.conf.5 !!!
Cc Benjamin Marzinski <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmultipath/prio.h | 21 +++++++++++---------- libmultipath/prioritizers/Makefile | 16 ++++++++-------- 2 files changed, 19 insertions(+), 18 deletions(-)
libmultipath/prio.h +11 -10
@@ -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
libmultipath/prioritizers/Makefile +8 -8
@@ -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..
Signature · 1 line
2.5.5
Merged.
Thanks.
On Sun, Jun 12, 2016 at 12:14 AM, Xose Vazquez Perez <[email protected]
Quoted 52 lines
wrote:
replace spaces by tabs in
defaults.hCc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/defaults.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)libmultipath/defaults.h +10
-11@@ -7,22 +7,22 @@#define DEFAULT_HWHANDLER "0"#define DEFAULT_MINIO 1000#define DEFAULT_MINIO_RQ 1 -#define DEFAULT_PGPOLICY FAILOVER -#define DEFAULT_FAILBACK -FAILBACK_MANUAL -#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE -#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF +#define DEFAULT_PGPOLICY FAILOVER +#define DEFAULT_FAILBACK -FAILBACK_MANUAL +#define DEFAULT_RR_WEIGHT RR_WEIGHT_NONE +#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF#define DEFAULT_VERBOSITY 2#define DEFAULT_REASSIGN_MAPS 0#define DEFAULT_FIND_MULTIPATHS 0#define DEFAULT_FAST_IO_FAIL 5 -#define DEFAULT_DEV_LOSS_TMO 600 +#define DEFAULT_DEV_LOSS_TMO 600#define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_OFF -#define DEFAULT_DETECT_PRIO DETECT_PRIO_OFF -#define DEFAULT_DEFERRED_REMOVE DEFERRED_REMOVE_OFF -#define DEFAULT_DELAY_CHECKS DELAY_CHECKS_OFF +#define DEFAULT_DETECT_PRIO DETECT_PRIO_OFF +#define DEFAULT_DEFERRED_REMOVE DEFERRED_REMOVE_OFF +#define DEFAULT_DELAY_CHECKS DELAY_CHECKS_OFF#define DEFAULT_UEVENT_STACKSIZE 256 -#define DEFAULT_RETRIGGER_DELAY 10 -#define DEFAULT_RETRIGGER_TRIES 3 +#define DEFAULT_RETRIGGER_DELAY 10 +#define DEFAULT_RETRIGGER_TRIES 3#define DEFAULT_UEV_WAIT_TIMEOUT 30#define DEFAULT_CHECKINT 5 --2.5.5