From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Subject: Re: [PATCH] multipath: Make sure we store all the hwentry attributes. Date: Wed, 23 May 2012 22:37:23 +0200 Message-ID: <1337805443.2890.4.camel@lapoo.opensvc.com> References: <20120523202905.GE9924@ether.msp.redhat.com> Reply-To: christophe.varoqui@opensvc.com, device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120523202905.GE9924@ether.msp.redhat.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: Benjamin Marzinski Cc: device-mapper development List-Id: dm-devel.ids On mer., 2012-05-23 at 15:29 -0500, Benjamin Marzinski wrote: > Not all of the attributes from the hardware table entries were getting stored > when the built-in devices configurations were being setup. > Applied. > Signed-off-by: Benjamin Marzinski > --- > libmultipath/config.c | 4 ++++ > 1 file changed, 4 insertions(+) > > Index: multipath-tools-120518/libmultipath/config.c > =================================================================== > --- multipath-tools-120518.orig/libmultipath/config.c > +++ multipath-tools-120518/libmultipath/config.c > @@ -379,6 +379,10 @@ store_hwe (vector hwtable, struct hwentr > hwe->no_path_retry = dhwe->no_path_retry; > hwe->minio = dhwe->minio; > hwe->minio_rq = dhwe->minio_rq; > + hwe->pg_timeout = dhwe->pg_timeout; > + hwe->flush_on_last_del = dhwe->flush_on_last_del; > + hwe->fast_io_fail = dhwe->fast_io_fail; > + hwe->dev_loss = dhwe->dev_loss; > > if (dhwe->bl_product && !(hwe->bl_product = set_param_str(dhwe->bl_product))) > goto out;