]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Now incrementing statCounter.syscalls.disk.unlinks for external unlinkd
authorwessels <>
Fri, 14 Feb 2003 04:22:28 +0000 (04:22 +0000)
committerwessels <>
Fri, 14 Feb 2003 04:22:28 +0000 (04:22 +0000)
helper process to be more consistent with other places that we increment
the counter.

src/unlinkd.cc

index 46f9aefd426dd1ba1ebe184b005e22e9ba94a2a5..ed2634891ecf3838c13fff767b4713e690ab4528 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: unlinkd.cc,v 1.49 2003/01/23 00:37:29 robertc Exp $
+ * $Id: unlinkd.cc,v 1.50 2003/02/13 21:22:28 wessels Exp $
  *
  * DEBUG: section 2     Unlink Daemon
  * AUTHOR: Duane Wessels
@@ -141,6 +141,12 @@ unlinkdUnlink(const char *path)
        return;
     }
     statCounter.unlink.requests++;
+    /*
+     * Increment this syscalls counter here, even though the syscall
+     * is executed by the helper process.  We try to be consistent
+     * in counting unlink operations.
+     */
+    syscalls.disk.unlinks++;
     queuelen++;
 }