Unreleased Changes
==================
+* Fixed description of the `fuse_conn_info->time_gran`. The default
+ value of zero actually corresponds to full nanosecond resolution,
+ not one second resolution.
* The init script is now installed into the right location
($DESTDIR/etc/init.d rather than $prefix/$sysconfdir/init.d)
* The `example/passthrough_ll` filesystem now supports creating
*
* To prevent this problem, this variable can be used to inform the
* kernel about the timestamp granularity supported by the file-system.
- * The value should be power of 10. A zero (default) value is
- * equivalent to 1000000000 (1sec).
+ * The value should be power of 10. The default is 1, i.e. full
+ * nano-second resolution. Filesystems supporting only second resolution
+ * should set this to 1000000000.
*/
unsigned time_gran;
LL_SET_DEFAULT(se->op.flock, FUSE_CAP_FLOCK_LOCKS);
LL_SET_DEFAULT(se->op.readdirplus, FUSE_CAP_READDIRPLUS);
LL_SET_DEFAULT(se->op.readdirplus, FUSE_CAP_READDIRPLUS_AUTO);
-
+ se->conn.time_gran = 1;
+
if (bufsize < FUSE_MIN_READ_BUFFER) {
fprintf(stderr, "fuse: warning: buffer size too small: %zu\n",
bufsize);