Who wrote storeDirDiskdCheckObj?
doesn't this diff make a lot more sense?
Index: store_dir_diskd.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/fs/diskd/store_dir_diskd.c,v
retrieving revision 1.24.2.10
diff -u -r1.24.2.10 store_dir_diskd.c
--- store_dir_diskd.c 2001/01/15 22:38:56 1.24.2.10
+++ store_dir_diskd.c 2001/01/23 04:13:48
@@ -1554,7 +1554,7 @@
if (diskdinfo->away == 0)
loadav = 0;
else
- loadav = diskdinfo->magic2 * 1000 / diskdinfo->away;
+ loadav = diskdinfo->away * 1000 / diskdinfo->magic2;
return loadav;
}
Received on Mon Jan 22 2001 - 21:16:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:25 MST