Skip to content
Snippets Groups Projects
Commit e27c9d38 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 1e18bda8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment