summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/addr.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 18:50:39 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 18:50:39 +0000
commitaac186e80cc3fee4a7f7631433b7baab944f9239 (patch)
tree85ae7eb2b2395695f5daab470cfa5152b3a7b358 /net/disk_cache/addr.h
parent6b658bf84d667bbaacd59d6337a09ac2e80645a8 (diff)
downloadchromium_src-aac186e80cc3fee4a7f7631433b7baab944f9239.zip
chromium_src-aac186e80cc3fee4a7f7631433b7baab944f9239.tar.gz
chromium_src-aac186e80cc3fee4a7f7631433b7baab944f9239.tar.bz2
Disk cache: Read the index and data_0 files in a single
operation to reduce multiple IO operations generated by on-demand paging. Also, generate extra histograms and improve the scale of some others. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/2891022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/addr.h')
-rw-r--r--net/disk_cache/addr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/addr.h b/net/disk_cache/addr.h
index a504019..938a442 100644
--- a/net/disk_cache/addr.h
+++ b/net/disk_cache/addr.h
@@ -23,7 +23,7 @@ enum FileType {
const int kMaxBlockSize = 4096 * 4;
const int kMaxBlockFile = 255;
const int kMaxNumBlocks = 4;
-const int kFirstAdditionlBlockFile = 4;
+const int kFirstAdditionalBlockFile = 4;
// Defines a storage address for a cache record
//