From 86b02afab780e559e82399b9e96381d8df594ed6 Mon Sep 17 00:00:00 2001 From: Dan Lambright Date: Mon, 13 Apr 2015 02:42:12 +0100 Subject: glusterd: support for tier volumes 'detach start' and 'detach commit' These commands work in a manner analagous to rebalancing when removing a brick. The existing migration daemon detects "detach start" and switches to moving data off the hot tier. While in this state all lookups are directed to the cold tier. gluster v detach-tier start gluster v detach-tier commit The status and stop cli commands shall be submitted separately. Change-Id: I24fda5cc3ba74f5fb8aa9a3234ad51f18b80a8a0 BUG: 1205540 Signed-off-by: Dan Lambright Signed-off-by: root Signed-off-by: Dan Lambright Reviewed-on: http://review.gluster.org/10108 Reviewed-by: Kaleb KEITHLEY Tested-by: NetBSD Build System --- cli/src/cli.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 2648d25ee9c..c0750f2dd74 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -255,6 +255,10 @@ int32_t cli_cmd_volume_add_brick_parse (const char **words, int wordcount, dict_t **options, int *type); +int32_t +cli_cmd_volume_detach_tier_parse (const char **words, int wordcount, + dict_t **options); + int32_t cli_cmd_volume_remove_brick_parse (const char **words, int wordcount, dict_t **options, int *question); -- cgit