diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-28 16:02:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-28 16:02:21 (GMT) |
commit | a3888a3b007e818f4178b053606c8d1b46f0fa1b (patch) | |
tree | 315bb1018c4d2bc20b01e9ad7ff82f8d008e7537 /src/H5Dcontig.c | |
parent | b89fbdd877c687edb489d02f5f286a33e9af251f (diff) | |
download | hdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.zip hdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.tar.gz hdf5-a3888a3b007e818f4178b053606c8d1b46f0fa1b.tar.bz2 |
[svn-r7426] 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c index 64a4377..5f0c72d 100644 --- a/src/H5Dcontig.c +++ b/src/H5Dcontig.c @@ -332,7 +332,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 */ |