Re: potential cbdata problem with multiple store dirs.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 3 Dec 2002 07:08:07 +0100

Yes, and they are all different cbdata types.

A cbdata type is local to the compilation unit or block where it is
defined by CBDATA_TYPE and may only be allocated within the same
unit. It may be referenced or freed from anywhere.

This is documented in the cbdata programmers guide IIRC.

Regards
Henrik

On Tuesday 03 December 2002 03.09, Robert Collins wrote:
> storeIOState is registered as CBData with *different* callbacks
> depending on which storedir open routine is called first.
>
> i.e.
> (store_io_diskd.cc)
> CBDATA_INIT_TYPE_FREECB(storeIOState, storeDiskdIOFreeEntry);
>
> I think this is potentially pretty bad... but I'll be addressing
> this in unify-IO.
>
> Do we need to do something for 2.5 ?
>
> Rob
Received on Mon Dec 02 2002 - 23:08:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:59 MST