summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-09-23 10:34:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-23 09:19:29 -0700
commita484a0c47ef6468c1615aa78795880e71347f709 (patch)
treea16ec602af03258c9b36cfa7cbcab40b939a7162 /libglusterfs
parent270a473ddaa076af5b3c8c455c7642932dabb479 (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')
-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 298b1b34765..66dc0ed9e4d 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;
struct _dict *ctx;