FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 09-19-2008, 05:00 AM
 
Default multipath-tools/multipathd cli_handlers.c

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/cli_handlers.c.diff?cvsroot=dm&only_with_tag=RHEL5 _FC6&r1=1.6.2.3&r2=1.6.2.4

--- multipath-tools/multipathd/cli_handlers.c 2008/09/19 03:27:08 1.6.2.3
+++ multipath-tools/multipathd/cli_handlers.c 2008/09/19 04:00:21 1.6.2.4
@@ -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);

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 03:41 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org