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

Issue 16837003: Disk cache: Update Addr to handle file format version 3. (Closed)

Created:
7 years, 6 months ago by rvargas (doing something else)
Modified:
7 years, 6 months ago
Reviewers:
gavinp
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

Disk cache: Update Addr to handle file format version 3. Basically three new file block types appear: One for normal entries, one for deleted entries and one for keeping track of external files. BUG=241277 TEST=net_unittests R=gavinp@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207870

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : #

Total comments: 21

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -25 lines) Patch
M net/disk_cache/addr.h View 1 2 3 4 5 5 chunks +32 lines, -4 lines 0 comments Download
M net/disk_cache/addr.cc View 1 2 3 4 5 2 chunks +35 lines, -6 lines 0 comments Download
M net/disk_cache/addr_unittest.cc View 1 chunk +12 lines, -10 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/disk_cache/rankings.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
rvargas (doing something else)
7 years, 6 months ago (2013-06-12 20:08:09 UTC) #1
gavinp
https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h File net/disk_cache/addr.h (right): https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h#newcode62 net/disk_cache/addr.h:62: value_ = ((file_type << kFileTypeOffset) & kFileTypeMask) | While ...
7 years, 6 months ago (2013-06-12 21:06:50 UTC) #2
rvargas (doing something else)
https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h File net/disk_cache/addr.h (right): https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h#newcode62 net/disk_cache/addr.h:62: value_ = ((file_type << kFileTypeOffset) & kFileTypeMask) | On ...
7 years, 6 months ago (2013-06-12 21:25:27 UTC) #3
gavinp
On 2013/06/12 21:25:27, rvargas wrote: > https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h > File net/disk_cache/addr.h (right): > > https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.h#newcode62 > ...
7 years, 6 months ago (2013-06-12 21:39:07 UTC) #4
gavinp
I can't really review this; the knowledge of the format of a CacheAddr is scattered ...
7 years, 6 months ago (2013-06-13 13:10:58 UTC) #5
gavinp
I think the change that would help me here is to get a bit of ...
7 years, 6 months ago (2013-06-13 16:42:29 UTC) #6
rvargas (doing something else)
On 2013/06/13 13:10:58, gavinp wrote: > I can't really review this; the knowledge of the ...
7 years, 6 months ago (2013-06-13 19:04:32 UTC) #7
rvargas (doing something else)
(I hate that replying doesn't send the comments) https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.cc File net/disk_cache/addr.cc (right): https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.cc#newcode57 net/disk_cache/addr.cc:57: return ...
7 years, 6 months ago (2013-06-13 19:07:25 UTC) #8
gavinp
Much easier to read. Thanks for your patience in cycling this. https://codereview.chromium.org/16837003/diff/1/net/disk_cache/addr.cc File net/disk_cache/addr.cc (right): ...
7 years, 6 months ago (2013-06-13 19:49:00 UTC) #9
rvargas (doing something else)
How about now? https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc File net/disk_cache/addr.cc (right): https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc#newcode41 net/disk_cache/addr.cc:41: CacheAddr new_value = value() & ~kFileTypeMask; ...
7 years, 6 months ago (2013-06-13 22:46:29 UTC) #10
gavinp
https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc File net/disk_cache/addr.cc (right): https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc#newcode41 net/disk_cache/addr.cc:41: CacheAddr new_value = value() & ~kFileTypeMask; On 2013/06/13 22:46:29, ...
7 years, 6 months ago (2013-06-13 23:38:27 UTC) #11
rvargas (doing something else)
https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc File net/disk_cache/addr.cc (right): https://codereview.chromium.org/16837003/diff/33001/net/disk_cache/addr.cc#newcode41 net/disk_cache/addr.cc:41: CacheAddr new_value = value() & ~kFileTypeMask; On 2013/06/13 23:38:27, ...
7 years, 6 months ago (2013-06-14 02:15:44 UTC) #12
gavinp
not lgtm. I can't review this code; it's too difficult to read and too diffuse. ...
7 years, 6 months ago (2013-06-14 15:15:23 UTC) #13
rvargas (doing something else)
Please don't nack a cl unless what you mean is that the feature should not ...
7 years, 6 months ago (2013-06-14 19:25:17 UTC) #14
rvargas (doing something else)
Yet another version up (with the methods that you asked removed). BTW, I'm not removing ...
7 years, 6 months ago (2013-06-15 00:33:56 UTC) #15
gavinp
I want to help land the V3 cache as quickly as possible. I'm sorry if ...
7 years, 6 months ago (2013-06-16 23:44:15 UTC) #16
rvargas (doing something else)
7 years, 6 months ago (2013-06-21 17:08:30 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 manually as r207870 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698