commit | f9a3cc94dbde58d45b85c08fdbf70d25d314ddc3 | [log] [tgz] |
---|---|---|
author | bcwhite <bcwhite@chromium.org> | Fri May 12 05:27:50 2017 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 06:05:25 2020 +0900 |
tree | 307910c8a923d2d8267cfedb28a6c8898a8ab49b | |
parent | dffa136116903fafaf24de344e4ff41d311ce5d9 [diff] |
Ensure that memory-maped files are fully realized. Memory-mapped files cause crashes if there are I/O problems. By ensuring that the file is fully realized on disk, we eliminate a disk-full condition from causing a crash down the road. BUG=715523, 717331 Review-Url: https://codereview.chromium.org/2860943005 Cr-Commit-Position: refs/heads/master@{#471056} CrOS-Libchrome-Original-Commit: e41b5ce8a877875575ad0c370bd4bdc8593113b2