diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-02-01 17:50:32 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-01 17:51:48 -0800 |
commit | 2d20b121d710fda3ad3382b66cd6c936e20a1119 (patch) | |
tree | 04f51106fe354275dc151a188550c2fd1ad1f36a /pkg/sentry/time | |
parent | 92e85623a0cd7b2043a79b757e1874a67796dea9 (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/time')
0 files changed, 0 insertions, 0 deletions