Re: Side effects of changes in _StoreEntry structure

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 21 May 2002 22:46:58 +0200

Such change makes the memory usage grow a bit.. 16 bytes per
StoreEntry due to malloc granularity with the old memory pools, not
sure what the exact effect is with chunked mempools. As we are
already on the high side in memory usage I am very reluctant on doing
this change in HEAD.

The change should not affect any on-disk structures. It is outside
the TLV structure, and the swap index is using another format
(storeSwapLogData).

If you plan on increasing the sfileno data type (not only the
bitfield) or any other change affecting the storeSwapLogData
structure then you will need to make a full rebuild of any
swap.index:es after the change.

Regards
Henrik

On Tuesday 21 May 2002 20:26, Guido Serassio wrote:
> Hi,
>
> I'm working on COSS.
> Some changes made from Adrian are related to > 2 GB COSS store file
> support.
>
> My question is:
>
> How the following changes impact on other store modules, i.e.,
> existing ufs caches are still valid or need to be cleaned ?, etc.
>
>
> -typedef signed int sdirno;
> +typedef signed char sdirno;
>
>
> - sfileno swap_filen:25;
> - sdirno swap_dirn:7;
> + sfileno swap_filen;
> + sdirno swap_dirn;
>
> Thanks
>
> Regards
>
> Guido
>
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 -
> Torino - ITALY E-mail: guido.serassio@serassio.it
> WWW: http://www.serassio.it
Received on Tue May 21 2002 - 15:13:50 MDT

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