diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-10-08 20:28:58 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2008-10-08 20:28:58 (GMT) |
commit | 8ec9cb73a9503db42e2f3b51247c2f9f28e7f796 (patch) | |
tree | 937efa5737a76d1241498164df907a2a8a9e01ee /src/H5HGdbg.c | |
parent | 648d6ac066ed4f75e168f7a4946fb62d0da6d400 (diff) | |
download | hdf5-8ec9cb73a9503db42e2f3b51247c2f9f28e7f796.zip hdf5-8ec9cb73a9503db42e2f3b51247c2f9f28e7f796.tar.gz hdf5-8ec9cb73a9503db42e2f3b51247c2f9f28e7f796.tar.bz2 |
[svn-r15821] Purpose: Global heap metadata cache client conversion
Description: Converted the global heap metadata cache clients over to
use the new journaling cache callbacks.
Separated cache clients into new H5HGcache.c file. Added
H5HGcache.c to MANIFEST, added into src/Makefile.am, and
ran bin/reconfigure to regenerate Makefile.in file.
Tested: kagiso, smirom, linew, duty
Diffstat (limited to 'src/H5HGdbg.c')
-rw-r--r-- | src/H5HGdbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5HGdbg.c b/src/H5HGdbg.c index 0e5aff8..d21e1f4 100644 --- a/src/H5HGdbg.c +++ b/src/H5HGdbg.c @@ -48,7 +48,7 @@ * * John Mainzer, 6/17/05 * Modified the function to use the new dirtied parameter of - * of H5AC_unprotect() instead of modifying the is_dirty + * of H5AC2_unprotect() instead of modifying the is_dirty * field of the cache info. * *------------------------------------------------------------------------- @@ -73,7 +73,7 @@ H5HG_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int indent, assert(indent >= 0); assert(fwidth >= 0); - if (NULL == (h = H5AC_protect(f, dxpl_id, H5AC_GHEAP, addr, NULL, NULL, H5AC_READ))) + if (NULL == (h = H5AC2_protect(f, dxpl_id, H5AC2_GHEAP, addr, fwidth, f, H5AC2_READ))) HGOTO_ERROR(H5E_HEAP, H5E_CANTLOAD, FAIL, "unable to load global heap collection"); fprintf(stream, "%*sGlobal Heap Collection...\n", indent, ""); @@ -132,7 +132,7 @@ H5HG_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream, int indent, } done: - if (h && H5AC_unprotect(f, dxpl_id, H5AC_GHEAP, addr, h, H5AC__NO_FLAGS_SET) != SUCCEED) + if (h && H5AC2_unprotect(f, dxpl_id, H5AC2_GHEAP, addr, (size_t)0, h, H5AC2__NO_FLAGS_SET) != SUCCEED) HDONE_ERROR(H5E_HEAP, H5E_PROTECT, FAIL, "unable to release object header"); FUNC_LEAVE_NOAPI(ret_value); |