From 07ab7a1f6248e5e6a7003cee3bdaad34426af91d Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Date: Thu, 2 Apr 2009 23:04:17 +0200 Subject: Support resizing of multipath maps. This is patch that initially showed up on dm-devel mailing list: http://www.linux-archive.org/device-mapper-development/162594-multipath-tools-libmultipath-configure-c-libmu.html which was posted on dm-devel mailing list, but never ported over to work with the git version. This forward-port by me works. --- multipathd/cli.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'multipathd/cli.c') diff --git a/multipathd/cli.c b/multipathd/cli.c index c93aa83..f6f4297 100644 --- a/multipathd/cli.c +++ b/multipathd/cli.c @@ -155,6 +155,7 @@ load_keys (void) r += add_key(keys, "resume", RESUME, 0); r += add_key(keys, "reinstate", REINSTATE, 0); r += add_key(keys, "fail", FAIL, 0); + r += add_key(keys, "resize", RESIZE, 0); r += add_key(keys, "paths", PATHS, 0); r += add_key(keys, "maps", MAPS, 0); r += add_key(keys, "multipaths", MAPS, 0); @@ -429,6 +430,7 @@ cli_init (void) { add_handler(RECONFIGURE, NULL); add_handler(SUSPEND+MAP, NULL); add_handler(RESUME+MAP, NULL); + add_handler(RESIZE+MAP, NULL); add_handler(REINSTATE+PATH, NULL); add_handler(FAIL+PATH, NULL); add_handler(QUIT, NULL); -- cgit v1.2.3