From 5e8538e1bb69308eda6a137570f2d4131a396779 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 23 May 2012 15:29:05 -0500 Subject: [PATCH] multipath: Make sure we store all the hwentry attributes. 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 --- libmultipath/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmultipath/config.c b/libmultipath/config.c index 0f17f03..065a334 100644 --- a/libmultipath/config.c +++ b/libmultipath/config.c @@ -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; -- 2.34.1