multipath: Make sure we store all the hwentry attributes.
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 23 May 2012 20:29:05 +0000 (15:29 -0500)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 23 May 2012 20:36:10 +0000 (22:36 +0200)
Not all of the attributes from the hardware table entries were getting stored
when the built-in devices configurations were being setup.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/config.c

index 0f17f033c2a23e00a9e7a4aa57657104eeb6d5f7..065a334f534e82632a5f53b22f071bf3adf7f7d2 100644 (file)
@@ -379,6 +379,10 @@ store_hwe (vector hwtable, struct hwentry * dhwe)
        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;