Various COSS minor problems

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Sat, 23 Sep 2006 17:44:22 +0200

Hi,

I'm trying the port of COSS on Windows using Ovelapped I/O, and I
have found some minor problems.

- During squid shutdown, storeCossDirShutdown() is never invoked,
because it's registered ad sd->freefs, this is executed from
configFreeMemory() only when LEAK_CHECK_MODE is defined, and after
storeCossDirDone(), this is the cache.log content:
2006/09/23 14:29:19| aioSync: done
2006/09/23 14:29:19| Open FD 24 /usr/local/squid/var/cache1/stripe
2006/09/23 14:29:19| Squid Cache (Version 2.6.STABLE4-CVS): Exiting normally.
This is easy to fix, because it was already fixed in old 2.6 Windows port.

- AioDone, when AIOPS is used only from COSS, is not called during
shutdown. This must be fixed carefully.

- The COSS store is always declared DIRTY during the startup and
always rebuild, is correct ?

- When a new stripe file is created, the rebuild process is very
strange: it try to read from the stripe for the all configured size:
this fails always on Windows, with all I/O method. For this reason, I
must delay the coss port on Windows.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sat Sep 23 2006 - 09:48:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT