diff options
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.h')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index 52718161c24..6cf9d2f7cf8 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -52,7 +52,7 @@ typedef struct fuse_in_header fuse_in_header_t; typedef void (fuse_handler_t) (xlator_t *this, fuse_in_header_t *finh, - void *msg); + void *msg, struct iobuf *iobuf); struct fuse_private { int fd; @@ -62,7 +62,8 @@ struct fuse_private { char *mount_point; struct iobuf *iobuf; - pthread_t fuse_thread; + pthread_t *fuse_thread; + uint32_t reader_thread_count; char fuse_thread_started; uint32_t direct_io_mode; @@ -143,6 +144,9 @@ struct fuse_private { /* Load the thin volfile, and connect to gfproxyd*/ gf_boolean_t thin_client; + gf_boolean_t mount_finished; + gf_boolean_t handle_graph_switch; + pthread_cond_t migrate_cond; }; typedef struct fuse_private fuse_private_t; @@ -394,6 +398,7 @@ typedef struct { int32_t fd_no; gf_seek_what_t whence; + struct iobuf *iobuf; } fuse_state_t; typedef struct { |