summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache2.c
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2008-10-03 06:50:54 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2008-10-03 06:50:54 (GMT)
commit648d6ac066ed4f75e168f7a4946fb62d0da6d400 (patch)
treedfe57c4556e6ced61264cdb00f731ac2edcbbb77 /testpar/t_cache2.c
parentd3f252466cddf196075b31c442fe1aed611b6ca8 (diff)
downloadhdf5-648d6ac066ed4f75e168f7a4946fb62d0da6d400.zip
hdf5-648d6ac066ed4f75e168f7a4946fb62d0da6d400.tar.gz
hdf5-648d6ac066ed4f75e168f7a4946fb62d0da6d400.tar.bz2
[svn-r15763] Converted the fractal heap direct block cache client to use the
revised cache. Note that this conversion is not as efficient as it should be. Specifically, it does it more memcpy's between the metadata cache's on disk image of the direct block and the fractal heap's on disk image of the direct block than is absolutely essential. Eventually, we will want to fix this -- probably by allowing the metadata cache and the fractal heap direct block to share a common on disk image of the direct block. However, this will require extensions to the client / metadata cache interface, and some reworking of the fractal heap as well. This checkin also includes Mike M's fix to the Linew specific bug mentioned in my checkin of 22 Aug 2008. Tested on Phoenix (serial debug and production), Kagiso (parallel), and Linew (serial)
Diffstat (limited to 'testpar/t_cache2.c')
-rw-r--r--testpar/t_cache2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testpar/t_cache2.c b/testpar/t_cache2.c
index 85b574e..e8ad9cb 100644
--- a/testpar/t_cache2.c
+++ b/testpar/t_cache2.c
@@ -332,6 +332,7 @@ static herr_t datum_image_len(void *thing,
size_t *image_len_ptr);
static herr_t datum_serialize(const H5F_t *f,
+ hid_t dxpl_id,
haddr_t addr,
size_t len,
void * image_ptr,
@@ -1996,8 +1997,9 @@ datum_image_len(void *thing,
herr_t
datum_serialize(const H5F_t UNUSED *f,
- UNUSED haddr_t addr,
- UNUSED size_t len,
+ hid_t UNUSED dxpl_id,
+ haddr_t UNUSED addr,
+ size_t UNUSED len,
void * image_ptr,
void * thing,
unsigned * flags_ptr,