DescriptionFlush on write in FileByteStore.
We see (rarely, but still) situations when FileState attempts to read
a *.unlinked file, but the file is empty. We think that this happens
when the user's machine crashes, so files are created, but not fully
written to disk.
This change has its cost - increase of FileByteStore.put() CPU usage
from 7% to 10% on Mac.
R=paulberry@google.com, brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/2d0d00061190d1df824628e7ec045ece27af7fd1
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|