Hi,
At 02.30 26/09/2006, Adrian Chadd wrote:
>On Sun, Sep 24, 2006, Guido Serassio wrote:
>
> > AioDone() now is called from StoreAufsDirDone() during squid shutdown
> > and calls squidaio_shutdown(). We must be sure that AioDone() is
> > executed once after both aufs and COSS shutdown.
> > I think that we could add a reference counter incremented after every
> > AioInit() call and decremented after any AioDone(). When the counter
> > is 0, AioDone is really executed.
>
>I'd just put it in the main shutdown code, after the filesystems have
>been flushed and shut down. Its much less pain. Then all you need is a
>check to make sure AioDone() only does its thing if AioInit() was called.
Here a proposed patch using an usage counter.
>Thats my fault for introducing it. Just bump the log level up to
>debug(blah, 2)
>and it should go away?
Done.
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/
This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:06 MST