From: wessels <> Date: Fri, 14 Feb 2003 04:22:28 +0000 (+0000) Subject: Now incrementing statCounter.syscalls.disk.unlinks for external unlinkd X-Git-Tag: SQUID_3_0_PRE1~349 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f0c84522de5c120e29ad34659bb9403bfcb75ac;p=thirdparty%2Fsquid.git Now incrementing statCounter.syscalls.disk.unlinks for external unlinkd helper process to be more consistent with other places that we increment the counter. --- diff --git a/src/unlinkd.cc b/src/unlinkd.cc index 46f9aefd42..ed2634891e 100644 --- a/src/unlinkd.cc +++ b/src/unlinkd.cc @@ -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++; }