From 16e71bf8b76eb421e30f5fe239601ba85710c983 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Thu, 6 Feb 2014 13:04:32 +0530 Subject: glusterd: Add a barrier brick-op This patch introduces a new 'barrier' brick-op which will be used to activate/deactivate the barriering on the bricks. This includes barriering in the barrier xlator and in the changelog xlator. All the required code has been including a bricks select function, a payload builder and a brick-op handler. Change-Id: I91d9d77f691c2e89823f7dc4e84900ec40dc4dd2 BUG: 1060002 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/6943 Reviewed-by: Krishnan Parthasarathi Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/mgmt/glusterd/src/glusterd.h') diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index b53d8e41232..e4e29ad9c62 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -108,6 +108,7 @@ typedef enum glusterd_op_ { GD_OP_SYS_EXEC, GD_OP_GSYNC_CREATE, GD_OP_SNAP, + GD_OP_BARRIER, GD_OP_MAX, } glusterd_op_t; -- cgit