diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2010-05-20 21:59:01 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2010-05-20 21:59:01 (GMT) |
commit | 8bd419e0885f859e34c5809cdde3117366f3c7b1 (patch) | |
tree | fbabcbafb151b3da100d73de7a5d81dd9ef59f40 /fortran | |
parent | 83f50e5a722f7a58562a0885fef695f74bce7285 (diff) | |
download | hdf5-8bd419e0885f859e34c5809cdde3117366f3c7b1.zip hdf5-8bd419e0885f859e34c5809cdde3117366f3c7b1.tar.gz hdf5-8bd419e0885f859e34c5809cdde3117366f3c7b1.tar.bz2 |
[svn-r18869] Purpose: Fix bug in dataset shrinking algorithm
Description:
Previously, it was possible for a chunk to be flushed due to chunk operations in
the callback from H5B_iterate in H5D_chunk_prune_by_extent. Because flushing
the chunk can force it to be reallocated if it is filtered, this can change the
contents of the chunk b-tree in the middle of H5B_iterate. Because H5B_iterate
uses a locally cached copy of the b-tree, this causes subsequent operations
to be passed incorrect data. Rewrote H5D_chunk_prune_by_extent to avoid
H5B_iterate entirely.
Also fixed a bug in the dataset expand algorithm that could cause extra chunks
to be created.
Tested: jam, linew, smirom (h5committest)
Diffstat (limited to 'fortran')
0 files changed, 0 insertions, 0 deletions