diff options
Diffstat (limited to 'xlators/features/changelog/src/changelog-helpers.h')
| -rw-r--r-- | xlators/features/changelog/src/changelog-helpers.h | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/xlators/features/changelog/src/changelog-helpers.h b/xlators/features/changelog/src/changelog-helpers.h index 70e6f60f30c..4fdba244aa1 100644 --- a/xlators/features/changelog/src/changelog-helpers.h +++ b/xlators/features/changelog/src/changelog-helpers.h @@ -116,8 +116,9 @@ typedef struct changelog_rollover {          xlator_t *this; -        /* read end of pipe used as event from barrier on snapshot */ -        int rfd; +        pthread_mutex_t lock; +        pthread_cond_t cond; +        gf_boolean_t notify;  } changelog_rollover_t;  typedef struct changelog_fsync { @@ -265,9 +266,6 @@ struct changelog_priv {          /* Represents the active color. Initially by default black */          chlog_fop_color_t current_color; -        /* write end of pipe to do explicit rollover on barrier during snap */ -        int cr_wfd; -          /* flag to determine explicit rollover is triggered */          gf_boolean_t explicit_rollover;  | 
