LZMA: Improve odds of getting data to disk.
Call FlushViewOfFile before unmapping the output file to initiate committing dirty pages to disk. This, combined with the existing call to FlushFileBuffers, helps ensure that the data is available to another process. BUG=933975,1069116 R=brucedawson@chromium.org Change-Id: Ied41e0f4067ea8b9e7b0d5c9fc679d2ab2974714 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162739 Commit-Queue: Greg Thompson <grt@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Auto-Submit: Greg Thompson <grt@chromium.org> Reviewed-by:Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#762147}
Showing
Please register or sign in to comment