Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 159451: Disk Cache: Delete chained block files when they become empty.... (Closed)

Created:
11 years, 4 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
Nicolas Sylvain
CC:
chromium-reviews_googlegroups.com, darin (slow to review), willchan no longer on Chromium
Visibility:
Public.

Description

Disk Cache: Delete chained block files when they become empty. We were leaving empty block files in the chain, and worst of all, not reusing them because we were thinking that these files were "almost full". Now we also check for empty files when the cache starts. BUG=16740 TEST=unittest. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21762

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -22 lines) Patch
M net/disk_cache/block_files.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/disk_cache/block_files.cc View 6 chunks +62 lines, -16 lines 0 comments Download
M net/disk_cache/block_files_unittest.cc View 2 chunks +53 lines, -3 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
rvargas (doing something else)
11 years, 4 months ago (2009-07-27 23:39:47 UTC) #1
Nicolas Sylvain
11 years, 4 months ago (2009-07-28 00:07:11 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698