forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SimpleCache: move CRC computations on writes off I/O thread.
This has two parts: 1) For stream 0 writes, which are kept in-memory, compute their checksum during ::Close. 2) For writes to other streams, have SimpleSynchronousEntry::WriteData compute it on the worker thread it uses for disk calls and pass it back to I/O thread with its results, much like the computation is done on read. Change-Id: I02ce9e5993d6c8e743e45aaa66ac2caccd617bf8 Reviewed-on: https://chromium-review.googlesource.com/902262 Commit-Queue: Maks Orlovich <morlovich@chromium.org> Reviewed-by: Julia Tuttle <juliatuttle@chromium.org> Cr-Commit-Position: refs/heads/master@{#536437}
- Loading branch information
Maks Orlovich
authored and
Commit Bot
committed
Feb 13, 2018
1 parent
c4b0575
commit 9d0e8ed
Showing
5 changed files
with
132 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters