multipath-tools/multipathd cli_handlers.c
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2008-09-19 04:00:22
Modified files:
multipathd : cli_handlers.c
Log message:
Update to the 455692 fix. With the most recent RHEL 5.3 kernels, it's not necesary to remove and re-add the devices, so some of the warts just magically disappeared.
multipathd/cli_handlers.c +6 -2
@@ -427,7 +427,7 @@return 0 ; } - +/* int reload_paths(struct multipath *mpp, struct vectors * vecs) {
@@ -477,7 +477,7 @@vector_free(path_names); return err; } - +*/ int resize_map (struct multipath *mpp,unsigned long long size,struct vectors * vecs) { mpp->size = size;
@@ -528,6 +528,7 @@ }condlog (3 ,"%s old size is %llu, new size is %llu" , mapname, mpp->size, size); +/* if (size > mpp->size) { if (reload_paths(mpp, vecs) != 0) { condlog(0, "%s: failed to reload paths", mapname);
@@ -544,6 +545,9 @@return 1; } } +*/ +if (resize_map (mpp, size, vecs) !=0 ) +return 1 ;dm_lib_release ();setup_multipath (vecs, mpp);sync_map_state (mpp);