summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs.h4
-rw-r--r--libglusterfs/src/xlator.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 904d4b60d75..90f2762b990 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -532,6 +532,10 @@ struct _cmd_args {
char *event_history;
int thin_client;
uint32_t reader_thread_count;
+
+ /* FUSE writeback cache support */
+ int kernel_writeback_cache;
+ uint32_t attr_times_granularity;
};
typedef struct _cmd_args cmd_args_t;
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index 4f18d1cd2a9..d476cf26442 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -33,6 +33,7 @@
#define GF_SET_ATTR_SIZE 0x8
#define GF_SET_ATTR_ATIME 0x10
#define GF_SET_ATTR_MTIME 0x20
+#define GF_SET_ATTR_CTIME 0x40
#define gf_attr_mode_set(mode) ((mode) & GF_SET_ATTR_MODE)
#define gf_attr_uid_set(mode) ((mode) & GF_SET_ATTR_UID)