diff options
Diffstat (limited to 'libglusterfs/src/glusterfs/glusterfs.h')
| -rw-r--r-- | libglusterfs/src/glusterfs/glusterfs.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h index 325241818c0..ae137c5d334 100644 --- a/libglusterfs/src/glusterfs/glusterfs.h +++ b/libglusterfs/src/glusterfs/glusterfs.h @@ -716,6 +716,12 @@ struct _glusterfs_ctx {      } stats;      struct list_head volfile_list; + +    /* Add members to manage janitor threads for cleanup fd */ +    struct list_head janitor_fds; +    pthread_cond_t janitor_cond; +    pthread_mutex_t janitor_lock; +    pthread_t janitor;  };  typedef struct _glusterfs_ctx glusterfs_ctx_t;  | 
