Blockfile cache: fix DoGetAvailableRange in some discontinuous cases
In particular the motivating case was when the partial write was before the bitmap... ... however this is done by rewriting the function entirely to be formulated in terms of net::Interval, since I found the details of the original pretty much inscrutable, but believe to have understood both the data representation and the interface. Bug: 791056 Change-Id: I297ee4cbcfc204df8ccab9c45145eaf0a82eb0b7 Reviewed-on: https://chromium-review.googlesource.com/806687Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Maks Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#523523}
Showing
Please register or sign in to comment