diff options
author | Purna Pavan Chandra Aekkaladevi <paekkala@redhat.com> | 2019-10-18 12:22:13 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-11-06 13:06:07 +0000 |
commit | 93e31716f11cb10d21f6fc59e8cdb6baed50865d (patch) | |
tree | 0ee22c9b651b9c8085359ba2ebe0e141dbf22194 /xlators/features | |
parent | 28199dc009869858bcea108f116ce10c06358e03 (diff) |
barrier: structs re-alignment
Re-aligned a struct and added manual padding to avoid compile time padding.
Change-Id: I8c6fc67a1b635dc7d8e2522bd4fd8587c09f74e9
Updates: bz#1754448
Signed-off-by: Purna Pavan Chandra Aekkaladevi <paekkala@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/barrier/src/barrier.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/barrier/src/barrier.h b/xlators/features/barrier/src/barrier.h index e5977084f21..1337f311f7d 100644 --- a/xlators/features/barrier/src/barrier.h +++ b/xlators/features/barrier/src/barrier.h @@ -65,11 +65,12 @@ typedef struct { gf_timer_t *timer; - gf_boolean_t barrier_enabled; gf_lock_t lock; struct list_head queue; struct timespec timeout; uint32_t queue_size; + gf_boolean_t barrier_enabled; + char _pad[3]; /* manual padding */ } barrier_priv_t; int |