From d003ff64778b4d729cec417bfe8f56140806b07d Mon Sep 17 00:00:00 2001 From: Purna Pavan Chandra Aekkaladevi Date: Mon, 23 Sep 2019 15:36:16 +0530 Subject: glusterd: Re-alignment of structure attributes in glusterd. Structures defined in few files of glusterd src have been modified into memory efficient manner. Change-Id: Ie712b41cc74b04d5169bfd2402bff3b9c0d8c95b Updates: bz#1754448 Signed-off-by: Purna Pavan Chandra Aekkaladevi --- xlators/mgmt/glusterd/src/glusterd-hooks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-hooks.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-hooks.h b/xlators/mgmt/glusterd/src/glusterd-hooks.h index 3813c18e989..f8b887b9bd7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-hooks.h +++ b/xlators/mgmt/glusterd/src/glusterd-hooks.h @@ -34,17 +34,17 @@ typedef enum glusterd_commit_hook_type { typedef struct hooks_private { struct cds_list_head list; - int waitcount; // debug purposes pthread_mutex_t mutex; pthread_cond_t cond; pthread_t worker; + int waitcount; // debug purposes } glusterd_hooks_private_t; typedef struct hooks_stub { struct cds_list_head all_hooks; char *scriptdir; - glusterd_op_t op; dict_t *op_ctx; + glusterd_op_t op; } glusterd_hooks_stub_t; -- cgit