aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2014-07-15 17:11:08 +0200
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2014-07-15 17:36:43 +0200
commit57a93b3dacbf9259178dacff5d2fbb25427f3b86 (patch)
tree09b3436bcec7b391ccc810c3d905b9b3a0158983 /include/fuse_common.h
parent52f46cfa682e284835807bcd60086a71b4365e91 (diff)
libfuse: add "time_gran" option
This allows the filesystem to specify the time granularity it supports when the kernel is responsible for updating times ("writeback_cache" option).
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 22d9591..aec4349 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -190,9 +190,17 @@ struct fuse_conn_info {
unsigned congestion_threshold;
/**
+ * Time granularity if kernel is responsible for setting times (in nsec)
+ *
+ * Should be power of 10. A zero (default) value is equivalent to
+ * 1000000000 (1sec).
+ */
+ unsigned time_gran;
+
+ /**
* For future use.
*/
- unsigned reserved[23];
+ unsigned reserved[22];
};
struct fuse_session;