From: bmarzins@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: multipath-tools/multipathd cli_handlers.c
Date: 19 Sep 2008 04:00:22 -0000 [thread overview]
Message-ID: <20080919040022.3121.qmail@sourceware.org> (raw)
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);
reply other threads:[~2008-09-19 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080919040022.3121.qmail@sourceware.org \
--to=bmarzins@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.