summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fs.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-02-01 17:50:32 -0800
committerShentubot <shentubot@google.com>2019-02-01 17:51:48 -0800
commit2d20b121d710fda3ad3382b66cd6c936e20a1119 (patch)
tree04f51106fe354275dc151a188550c2fd1ad1f36a /pkg/sentry/fs/fs.go
parent92e85623a0cd7b2043a79b757e1874a67796dea9 (diff)
CachingInodeOperations was over-dirtying cached attributes
Dirty should be set only when the attribute is changed in the cache only. Instances where the change was also sent to the backing file doesn't need to dirty the attribute. Also remove size update during WriteOut as writing dirty page would naturaly grow the file if needed. RELNOTES: relnotes is needed for the parent CL. PiperOrigin-RevId: 232068978 Change-Id: I00ba54693a2c7adc06efa9e030faf8f2e8e7f188
Diffstat (limited to 'pkg/sentry/fs/fs.go')
0 files changed, 0 insertions, 0 deletions