gvisor/pkg/sentry
Fabricio Voznika ac01f245ff 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
2018-05-10 14:59:40 -07:00
..
arch Check in gVisor. 2018-04-28 01:44:26 -04:00
context Check in gVisor. 2018-04-28 01:44:26 -04:00
control Run gofmt -s on everything 2018-05-04 14:16:11 -07:00
device Check in gVisor. 2018-04-28 01:44:26 -04:00
fs Skip atime and mtime update when file is backed by host FD 2018-05-10 14:59:40 -07:00
hostcpu Check in gVisor. 2018-04-28 01:44:26 -04:00
inet Check in gVisor. 2018-04-28 01:44:26 -04:00
kernel Capture restore file system corruption errors in exit error. 2018-05-08 11:36:59 -07:00
limits Check in gVisor. 2018-04-28 01:44:26 -04:00
loader Reword misleading log line 2018-05-08 09:59:03 -07:00
memmap Check in gVisor. 2018-04-28 01:44:26 -04:00
memutil Check in gVisor. 2018-04-28 01:44:26 -04:00
mm Fix misspellings. 2018-05-03 14:06:13 -07:00
platform Fix misspellings 2018-05-07 16:38:01 -07:00
safemem Check in gVisor. 2018-04-28 01:44:26 -04:00
sighandling Check in gVisor. 2018-04-28 01:44:26 -04:00
socket sentry: Adds the SIOCGIFNETMASK ioctl to epsocket. 2018-05-04 16:22:31 -07:00
state Sentry: always use "best speed" compression for save and remove the option. 2018-05-08 10:07:10 -07:00
strace Clean up control message strace logging 2018-05-03 16:26:23 -07:00
syscalls Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
time Check in gVisor. 2018-04-28 01:44:26 -04:00
uniqueid Check in gVisor. 2018-04-28 01:44:26 -04:00
usage Fix misspellings 2018-05-07 16:38:01 -07:00
usermem Check in gVisor. 2018-04-28 01:44:26 -04:00
watchdog Check in gVisor. 2018-04-28 01:44:26 -04:00
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00