3ad17ff597
The gofer's CachingInodeOperations implementation contains an optimization for the common open-read-close pattern when we have a host FD. In this case, the host kernel will update the timestamp for us to a reasonably close time, so we don't need an extra RPC to the gofer. However, when the app explicitly sets the timestamps (via futimes or similar) then we actually DO need to update the timestamps, because the host kernel won't do it for us. To fix this, a new boolean `forceSetTimestamps` was added to CachineInodeOperations.SetMaskedAttributes. It is only set by gofer.InodeOperations.SetTimestamps. PiperOrigin-RevId: 272048146 |
||
---|---|---|
.. | ||
BUILD | ||
attr.go | ||
cache_policy.go | ||
context_file.go | ||
device.go | ||
file.go | ||
file_state.go | ||
fs.go | ||
gofer_test.go | ||
handles.go | ||
inode.go | ||
inode_state.go | ||
path.go | ||
session.go | ||
session_state.go | ||
socket.go | ||
util.go |