diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-19 10:06:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-19 10:06:10 (GMT) |
commit | 9db9e82cd1c4e35c6e64fbb2da5eb1db95a0fb55 (patch) | |
tree | df8aaa72b1094bcfacc740a8d33b255c84e1d34e /src/H5HF.c | |
parent | 54e2de04d3b7a0359c80cc995f94b63123f4a4da (diff) | |
download | hdf5-9db9e82cd1c4e35c6e64fbb2da5eb1db95a0fb55.zip hdf5-9db9e82cd1c4e35c6e64fbb2da5eb1db95a0fb55.tar.gz hdf5-9db9e82cd1c4e35c6e64fbb2da5eb1db95a0fb55.tar.bz2 |
[svn-r12424] Purpose:
Code checkpoint
Description:
Add in more new features for the fractal heap code, mostly bringing in
more ability for deleting objects (which isn't completely working yet).
Also, checkpoint free space manager code, which is essentially complete
(although it needs some more work after the metadata cache has some additional
features)
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4 (chicago)
h5committest
Diffstat (limited to 'src/H5HF.c')
-rw-r--r-- | src/H5HF.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -568,10 +568,20 @@ H5HF_close(H5HF_t *fh, hid_t dxpl_id) HGOTO_ERROR(H5E_HEAP, H5E_CANTRELEASE, FAIL, "can't remove group from list of open objects") /* Close the free space information */ + /* (Can't put this in header "destroy" routine, because it has + * pointers to indirect blocks in the heap, which would create + * a reference loop and the objects couldn't be removed from + * the metadata cache - QAK) + */ if(H5HF_space_close(fh->hdr, dxpl_id) < 0) HGOTO_ERROR(H5E_HEAP, H5E_CANTRELEASE, FAIL, "can't release free space info") /* Reset the block iterator */ + /* (Can't put this in header "destroy" routine, because it has + * pointers to indirect blocks in the heap, which would create + * a reference loop and the objects couldn't be removed from + * the metadata cache - QAK) + */ if(H5HF_man_iter_reset(&fh->hdr->next_block) < 0) HGOTO_ERROR(H5E_HEAP, H5E_CANTRELEASE, FAIL, "can't reset block iterator") |