summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 23:52:40 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 23:52:40 +0000
commit8df3407d293c6895ed8f95ad85c29bbef23443a5 (patch)
tree5fe723e790f74b0095ef519230c8aab31772a733 /net/disk_cache/backend_impl.h
parentfcc21e89ce697257c2d64debe116c2df77ac7e6a (diff)
downloadchromium_src-8df3407d293c6895ed8f95ad85c29bbef23443a5.zip
chromium_src-8df3407d293c6895ed8f95ad85c29bbef23443a5.tar.gz
chromium_src-8df3407d293c6895ed8f95ad85c29bbef23443a5.tar.bz2
Disk Cache: Lower the definition of a loaded system from
10 pending operations to 5. Data from the Beta channel shows that for all group sizes except one, the 99.90% cutoff of number of pending operations falls below 5 (in fact, below 3). BUG=none TEST=none Review URL: http://codereview.chromium.org/164355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23120 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r--net/disk_cache/backend_impl.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index 242c0c5..a2dd0c6 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -19,12 +19,13 @@
namespace disk_cache {
enum BackendFlags {
- kMask = 1,
- kMaxSize = 1 << 1,
- kUnitTestMode = 1 << 2,
- kUpgradeMode = 1 << 3,
- kNewEviction = 1 << 4,
- kNoRandom = 1 << 5
+ kMask = 1, // A mask (for the index table) was specified.
+ kMaxSize = 1 << 1, // A maximum size was provided.
+ kUnitTestMode = 1 << 2, // We are modifying the behavior for testing.
+ kUpgradeMode = 1 << 3, // This is the upgrade tool (dump).
+ kNewEviction = 1 << 4, // Use of new eviction was specified.
+ kNoRandom = 1 << 5, // Don't add randomness to the behavior.
+ kNoLoadProtection = 1 << 6 // Don't act conservatively under load.
};
// This class implements the Backend interface. An object of this