DIRECTIO is unreliable under high load. Cc: Shyam Sundar <g.shyamsundar@xxxxxxxxxxx> Cc: Edward Goggin, EMC <egoggin@xxxxxxx> Cc: Matthias Rudolph <matthias.rudolph@xxxxxxx> Cc: Brian King, IBM <brking@xxxxxxxxxxxxxxxxxx> Cc: Yacine Kheddache <yacine@xxxxxxxxxx> Cc: Srinivasan Ramani <srinivas.ramani@xxxxxxxxxx> Cc: Bart Brooks, Pivot3 <bartb@xxxxxxxxxx> Cc: Martin George <marting@xxxxxxxxxx> Cc: Sean Stewart <sean.stewart@xxxxxxxxxx> 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/hwtable.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index 6e73e67..38487c1 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -95,7 +95,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = 12, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -245,7 +245,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -324,7 +324,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -388,7 +388,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -622,7 +622,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -638,7 +638,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -702,7 +702,7 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = (300 / DEFAULT_CHECKINT), - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -816,7 +816,7 @@ static struct hwentry default_hw[] = { .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, .minio = 128, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = PRIO_ONTAP, .prio_args = NULL, }, @@ -836,7 +836,7 @@ static struct hwentry default_hw[] = { .rr_weight = RR_WEIGHT_NONE, .no_path_retry = 30, .minio = 128, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -871,7 +871,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, @@ -949,7 +949,7 @@ static struct hwentry default_hw[] = { .pgfailback = FAILBACK_UNDEF, .rr_weight = RR_WEIGHT_NONE, .no_path_retry = NO_PATH_RETRY_UNDEF, - .checker_name = DIRECTIO, + .checker_name = DEFAULT_CHECKER, .prio_name = DEFAULT_PRIO, .prio_args = NULL, }, -- 2.5.5 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel