summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-09-22 07:53:14 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-23 09:19:25 -0700
commit155ffe5c5a52a8f52978dc68509e5912b5db7bc4 (patch)
tree6abcd4fa017d45ca83970c9d664d3bb46d6fd34a /libglusterfs/src
parent334981987010f895594031f8363f481eb7ae6416 (diff)
fuse: emit a flush from release if we didn't get an adjacent FLUSH message from the kernel
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 223 (flush not sent) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=223
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/fd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/fd.h b/libglusterfs/src/fd.h
index 1770658e8..6b0571351 100644
--- a/libglusterfs/src/fd.h
+++ b/libglusterfs/src/fd.h
@@ -46,6 +46,7 @@ struct _fd {
pid_t pid;
int32_t flags;
int32_t refcount;
+ uint64_t flush_unique;
struct list_head inode_list;
struct _inode *inode;
gf_lock_t lock; /* used ONLY for manipulating