DescriptionDisk cache: Add a method to cancel pending sparse operations.
The sparse IO methods require exclusive use of the cache entry
and they complain when that requirement is violated. When the
user cancels a request and reissues another one to the same entry,
we may be waiting for the previous operation to finish when we
receive a new IO request, so we fail.
This CL add a way for the HTTP cache to cancel IO operations and
get a notification when the disk cache is able to operate on that
entry again.
BUG=23862
TEST=unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28475
Patch Set 1 #Patch Set 2 : '' #
Total comments: 21
Patch Set 3 : '' #
Total comments: 1
Patch Set 4 : '' #
Messages
Total messages: 9 (0 generated)
|