commit | e27c9d3877a0d0479711a55f5cdd7ee91442da53 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon Apr 28 14:19:23 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Mon Apr 28 14:19:23 2014 +0200 |
tree | 5313ae3779a436d92b042c7584986c1f6f06afd4 | |
parent | 1e18bda86e2dcc4ecb176213ee34649c93ad1396 [diff] |
fuse: fuse: add time_gran to INIT_OUT Allow userspace fs to specify time granularity. This is needed because with writeback_cache mode the kernel is responsible for generating mtime and ctime, but if the underlying filesystem doesn't support nanosecond granularity then the cache will contain a different value from the one stored on the filesystem resulting in a change of times after a cache flush. Make the default granularity 1s. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>