summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-28 16:03:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-28 16:03:34 (GMT)
commitb772787079dcac337276ea27dc68a54d9295b9f6 (patch)
tree575440bfdfda93bd74eb50c02d725fff42af33fe /src/H5Dcontig.c
parentbe04bab58bf696122a77b3478a223f719d7e3e98 (diff)
downloadhdf5-b772787079dcac337276ea27dc68a54d9295b9f6.zip
hdf5-b772787079dcac337276ea27dc68a54d9295b9f6.tar.gz
hdf5-b772787079dcac337276ea27dc68a54d9295b9f6.tar.bz2
[svn-r7427] Purpose:
Bug fix Description: When datasets are deleted from a file, they are removed from the sieve buffer, but instead of invalidating only the part of the sieve buffer affected, the sieve buffer code would throw away the entire sieve buffer, potentially including other raw data in the buffer that hadn't been written to disk yet. Solution: Improve the sieve buffer clearing code to handle partial invalidations. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index 6445d19..7867be7 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -346,7 +346,7 @@ H5F_contig_delete(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout)
size *= layout->dim[u];
/* Check for overlap with the sieve buffer and reset it */
- if (H5F_sieve_overlap_clear(f, layout->addr, size)<0)
+ if (H5F_sieve_overlap_clear(f, dxpl_id, layout->addr, size)<0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTFREE, FAIL, "unable to clear sieve buffer");
/* Free the file space for the chunk */