From 5a5148f07a808d1b94a116eb41a9452bd58ed6bb Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Fri, 22 Jun 2012 13:28:31 +0530 Subject: cluster/dht: Remove dht dependency on glusterfsd-mgmt glusterfs_ctx->notify can be used by any xlator to talk to glusterfsd-mgmt. Note- This is for any rpc communication initiated by the xlator, and not from glusterd. Change-Id: Ic0e4af106fe1e98d797ca621facda8839b87598a BUG: 835757 Signed-off-by: shishir gowda Reviewed-on: http://review.gluster.com/3618 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Anand Avati --- libglusterfs/src/xlator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src/xlator.h') diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index b7b59fac9..2fce7dc47 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -873,5 +873,8 @@ int is_gf_log_command (xlator_t *trans, const char *name, char *value); int glusterd_check_log_level (const char *value); int xlator_volopt_dynload (char *xlator_type, void **dl_handle, volume_opt_list_t *vol_opt_handle); -int32_t glusterfs_rebalance_event_notify (dict_t *dict); +enum gf_hdsk_event_notify_op { + GF_EN_DEFRAG_STATUS, + GF_EN_MAX, +}; #endif /* _XLATOR_H */ -- cgit