]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: implement the "time_gran" feature.
authorasomers <asomers@FreeBSD.org>
Wed, 26 Jun 2019 02:09:22 +0000 (02:09 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 26 Jun 2019 02:09:22 +0000 (02:09 +0000)
commitd89bd1637d6cf590f6245c101bb4b7c4f5a2beec
tree7a66a4a02004a618be9460311f724588ffbe7c2b
parent105fa97c1088bc7518503d554b6f1de88b8fa631
fusefs: implement the "time_gran" feature.

If a server supports a timestamp granularity other than 1ns, it can tell the
client this as of protocol 7.23.  The client will use that granularity when
updating its cached timestamps during write.  This way the timestamps won't
appear to change following flush.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_ipc.h
sys/fs/fuse/fuse_node.c
tests/sys/fs/fusefs/mockfs.cc
tests/sys/fs/fusefs/mockfs.hh
tests/sys/fs/fusefs/utils.cc
tests/sys/fs/fusefs/utils.hh
tests/sys/fs/fusefs/write.cc