DescriptionDon't realize existing parts of an extended memory-mapped file.
Realizing the entire file when extending a file is expensive and
unnecessary if we assume that the existing file is not sparse. Just
realize the extension.
This is important for persistent metrics which creates a "spare" file
for use by the next run of the browser. To realize it again would
negate most of the benefit of creating it in the first place.
BUG=717331
Review-Url: https://codereview.chromium.org/2939073002
Cr-Commit-Position: refs/heads/master@{#479718}
Committed: https://chromium.googlesource.com/chromium/src/+/f838936df9cdc2d95d64fb7cbae76a6ecd927cdd
Patch Set 1 #
Total comments: 2
Messages
Total messages: 15 (9 generated)
|