diff options
author | Konrad Rzeszutek <konrad@virtualiron.com> | 2009-04-02 23:04:17 +0200 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2009-04-02 23:04:17 +0200 |
commit | 07ab7a1f6248e5e6a7003cee3bdaad34426af91d (patch) | |
tree | 1f6c792d2862ea418b5752eb546a7eb8704665e2 /multipathd/cli.c | |
parent | be6b014d785d0e6bc34d3a5f2ac531df8b3d8690 (diff) | |
download | multipath-tools-07ab7a1f6248e5e6a7003cee3bdaad34426af91d.tar.gz multipath-tools-07ab7a1f6248e5e6a7003cee3bdaad34426af91d.tar.bz2 multipath-tools-07ab7a1f6248e5e6a7003cee3bdaad34426af91d.zip |
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.
Diffstat (limited to 'multipathd/cli.c')
-rw-r--r-- | multipathd/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |