* Re: [PATCH] update defaults for netapp targets
2006-03-10 16:22 [PATCH] update defaults for netapp targets David Wysochanski
@ 2006-03-10 16:38 ` David Wysochanski
0 siblings, 0 replies; 2+ messages in thread
From: David Wysochanski @ 2006-03-10 16:38 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]
Apologies for the misfire. But the 'minio' line should be 128, not 64.
Attached is
updated patch.
Thanks.
Wysochanski, David wrote:
>
> Should apply to latest git tree.
>
>
> ------------------------------------------------------------------------
>
> --- libmultipath/hwtable.c 2006-03-02 11:29:20.000000000 -0500
> +++ libmultipath/hwtable.c.new 2006-03-10 11:22:38.180997000 -0500
> @@ -330,10 +330,10 @@ static struct hwentry default_hw[] = {
> .hwhandler = DEFAULT_HWHANDLER,
> .selector = DEFAULT_SELECTOR,
> .pgpolicy = GROUP_BY_PRIO,
> - .pgfailback = FAILBACK_UNDEF,
> + .pgfailback = -FAILBACK_IMMEDIATE,
> .rr_weight = RR_WEIGHT_NONE,
> .no_path_retry = NO_PATH_RETRY_UNDEF,
> - .minio = DEFAULT_MINIO,
> + .minio = 64
> .checker_name = READSECTOR0,
> },
> /*
>
> ------------------------------------------------------------------------
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
[-- Attachment #2: update-netapp-target-defaults.patch --]
[-- Type: text/x-patch, Size: 559 bytes --]
--- libmultipath/hwtable.c 2006-03-02 11:29:20.000000000 -0500
+++ libmultipath/hwtable.c.new 2006-03-10 11:39:51.375259000 -0500
@@ -330,10 +330,10 @@ static struct hwentry default_hw[] = {
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
- .pgfailback = FAILBACK_UNDEF,
+ .pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
- .minio = DEFAULT_MINIO,
+ .minio = 128
.checker_name = READSECTOR0,
},
/*
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread