summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-05-02 15:04:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-05-02 15:04:55 (GMT)
commit076efa3382acdff44b9560909c9c28832c0ff1fe (patch)
tree822177177ff8eecd0ef1e2f64236352ea73059b8 /src/H5Fpkg.h
parentf21aa7af8ccc49e57156e2d0f99eb2770f837517 (diff)
downloadhdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.zip
hdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.tar.gz
hdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.tar.bz2
[svn-r3885] Purpose:
Document bug fix Description: IMPORTANT! IMPORTANT! IMPORTANT! A case where metadata in a file could get corrupted in certain unusual sitations was detected and fixed. In certain circumstances, metadata could get cached in the raw data cache, and if that particular piece of metadata was updated on disk while incorrectly cached, the new metadata would get overwritten with the stale metadata from the raw data cache when it was flushed out. Additionally, I've patched up the raw data cache to be smarter about how much it caches and how much I/O it triggers, leading to some speedups. Solution: Changed the raw data I/O routines which perform caching to require a parameter with the size of the dataset being accessed and limited the cache to no more than that many bytes. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 3c7c142..763a592 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -199,9 +199,9 @@ __DLL__ herr_t H5F_istore_allocate (H5F_t *f, hid_t dxpl_id,
const struct H5O_fill_t *fill);
/* Functions that operate on contiguous storage wrt boot block */
-__DLL__ herr_t H5F_contig_read(H5F_t *f, H5FD_mem_t type, haddr_t addr, hsize_t size,
+__DLL__ herr_t H5F_contig_read(H5F_t *f, hsize_t max_data, H5FD_mem_t type, haddr_t addr, hsize_t size,
hid_t dxpl_id, void *_buf/*out*/);
-__DLL__ herr_t H5F_contig_write(H5F_t *f, H5FD_mem_t type, haddr_t addr,
+__DLL__ herr_t H5F_contig_write(H5F_t *f, hsize_t max_data, H5FD_mem_t type, haddr_t addr,
hsize_t size, hid_t dxpl_id, const void *buf);
#endif