From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Wysochanski Subject: Re: [PATCH] update defaults for netapp targets Date: Fri, 10 Mar 2006 11:38:30 -0500 Message-ID: <4411AB86.5020506@netapp.com> References: <4411A7D3.2030306@netapp.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070801010403070602030207" Return-path: In-Reply-To: <4411A7D3.2030306@netapp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids This is a multi-part message in MIME format. --------------070801010403070602030207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070801010403070602030207 Content-Type: text/x-patch; name="update-netapp-target-defaults.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="update-netapp-target-defaults.patch" --- 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, }, /* --------------070801010403070602030207 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --------------070801010403070602030207--