diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-05-10 14:58:51 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-05-10 14:59:40 -0700 |
commit | ac01f245ff4515af2b69225e8b7fb2cf28808275 (patch) | |
tree | 5e85531c42af949300fb48977fa07ca0f813ca79 /pkg/sentry/fs/proc | |
parent | 31a4fefbe0a44377f75888284c9be0a3bec2a017 (diff) |
Skip atime and mtime update when file is backed by host FD
When file is backed by host FD, atime and mtime for the host file and the
cached attributes in the Sentry must be close together. In this case,
the call to update atime and mtime can be skipped. This is important when
host filesystem is using overlay because updating atime and mtime explicitly
forces a copy up for every file that is touched.
PiperOrigin-RevId: 196176413
Change-Id: I3933ea91637a071ba2ea9db9d8ac7cdba5dc0482
Diffstat (limited to 'pkg/sentry/fs/proc')
0 files changed, 0 insertions, 0 deletions