From 5e4a5a4c27f120102d4c2e3c7d558a20d838cf24 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Tue, 11 Feb 2014 10:07:24 +0530 Subject: cli: Add a cli command to enable/disable barrier This patch adds a new 'gluster volume barrier {enable|disable}' cli command. This helps in testing the brick op code path when testing the barrier xlator. This patch can be reverted later if not required for end users. Change-Id: Icd86a2d13e7f276dda1ecbb2593d60638ece7dcd BUG: 1060002 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/6958 Reviewed-by: Krishnan Parthasarathi Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- rpc/rpc-lib/src/protocol-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc/rpc-lib/src/protocol-common.h') diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index 25b0085b37f..634fff8f760 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -170,6 +170,7 @@ enum gluster_cli_procnum { GLUSTER_CLI_COPY_FILE, GLUSTER_CLI_SYS_EXEC, GLUSTER_CLI_SNAP, + GLUSTER_CLI_BARRIER_VOLUME, GLUSTER_CLI_MAXVALUE, }; -- cgit