]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Disabled Rock::SwapDir::maintain() because it has no positive effects
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 6 Feb 2011 01:35:23 +0000 (18:35 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 6 Feb 2011 01:35:23 +0000 (18:35 -0700)
with the current hashing scheme.

src/fs/rock/RockSwapDir.cc

index b11c9ba0edec12bc5ac0dbef0daa8152b03f31ed..16ea34c4746309f4629be63ddadb44457451e102 100644 (file)
@@ -531,6 +531,10 @@ Rock::SwapDir::diskFull() {
 void
 Rock::SwapDir::maintain()
 {
+    // Current openForWriting() code does not search for an empty
+    // slot so removing old slots will not make any difference.
+    return;
+
     if (!map)
         return;