summaryrefslogtreecommitdiffstats
path: root/src/H5FScache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-07-22 01:55:14 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-07-22 01:55:14 (GMT)
commit58ed885d1314d2c971c106e70c9271df3a70ebc9 (patch)
treedf8dcecc4112ba026cad00a3fc9c8af64b20a208 /src/H5FScache.c
parent59d5e5c6fbbc951545e079333dc00e5a12dc9065 (diff)
downloadhdf5-58ed885d1314d2c971c106e70c9271df3a70ebc9.zip
hdf5-58ed885d1314d2c971c106e70c9271df3a70ebc9.tar.gz
hdf5-58ed885d1314d2c971c106e70c9271df3a70ebc9.tar.bz2
[svn-r12491] Description:
Refactored object deletion code for fractal heap to fix scaling problems. Passing all previous tests again now. Tested: FreeBSD 4.11 (sleipnir) Linux 2.4 (chicago) Mac OS X (amazon)
Diffstat (limited to 'src/H5FScache.c')
-rw-r--r--src/H5FScache.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c
index c87cdc0..c6fd297 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -173,8 +173,14 @@ HDfprintf(stderr, "%s: Load free space header, addr = %a\n", FUNC, addr);
/* Total space tracked */
H5F_DECODE_LENGTH(f, p, hdr->tot_space);
- /* # of free space sections tracked */
- H5F_DECODE_LENGTH(f, p, hdr->sect_count);
+ /* Total # of free space sections tracked */
+ H5F_DECODE_LENGTH(f, p, hdr->tot_sect_count);
+
+ /* # of serializable free space sections tracked */
+ H5F_DECODE_LENGTH(f, p, hdr->serial_sect_count);
+
+ /* # of ghost free space sections tracked */
+ H5F_DECODE_LENGTH(f, p, hdr->ghost_sect_count);
/* # of section classes */
UINT16DECODE(p, hdr->nclasses);
@@ -279,8 +285,14 @@ HDfprintf(stderr, "%s: Flushing free space header, addr = %a, destroy = %u\n", F
/* Total space tracked */
H5F_ENCODE_LENGTH(f, p, hdr->tot_space);
- /* # of free space sections tracked */
- H5F_ENCODE_LENGTH(f, p, hdr->sect_count);
+ /* Total # of free space sections tracked */
+ H5F_ENCODE_LENGTH(f, p, hdr->tot_sect_count);
+
+ /* # of serializable free space sections tracked */
+ H5F_ENCODE_LENGTH(f, p, hdr->serial_sect_count);
+
+ /* # of ghost free space sections tracked */
+ H5F_ENCODE_LENGTH(f, p, hdr->ghost_sect_count);
/* # of section classes */
UINT16ENCODE(p, hdr->nclasses);