From e3a061d6fa5f436fe37493b7257860014ae75950 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 16 Jun 2011 07:39:43 +0000 Subject: gluster rebalance: bring in a 'force' option * also correct the free space available logic to check the size without the file in migration (this considers the sparse files too) * 'force' option will bypass the free-space check logic, hence will cleanup all the linkfile * 'force' option is valid only with 'migrate-data' option Signed-off-by: Amar Tumballi Signed-off-by: Anand Avati BUG: 2258 (enhance gluster volume rebalance) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2258 --- rpc/xdr/src/cli1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc/xdr/src') diff --git a/rpc/xdr/src/cli1.h b/rpc/xdr/src/cli1.h index 26b142031..2aefe0737 100644 --- a/rpc/xdr/src/cli1.h +++ b/rpc/xdr/src/cli1.h @@ -31,6 +31,7 @@ enum gf_cli_defrag_type { GF_DEFRAG_CMD_STATUS, GF_DEFRAG_CMD_START_LAYOUT_FIX, GF_DEFRAG_CMD_START_MIGRATE_DATA, + GF_DEFRAG_CMD_START_MIGRATE_DATA_FORCE, }; ssize_t -- cgit