diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2009-02-11 18:49:17 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2009-02-11 18:49:17 (GMT) |
commit | 725b4d7ddb461c984c8afef2f7ea5d962f5def53 (patch) | |
tree | efa7178b478577a6560859c56dd2f89f47c9d31c /src/H5Dpkg.h | |
parent | 77e347b19fb09bd96aba18dd6017d6f678e19c4e (diff) | |
download | hdf5-725b4d7ddb461c984c8afef2f7ea5d962f5def53.zip hdf5-725b4d7ddb461c984c8afef2f7ea5d962f5def53.tar.gz hdf5-725b4d7ddb461c984c8afef2f7ea5d962f5def53.tar.bz2 |
[svn-r16465] Performance Improvement(bug #1450). When a chunk is bigger than the cache size and isn't allocated
on disk, the library still loaded it in the cache, which is redundant. I changed it to bypass the
cache and added a test in dsets.c.
Tested on jam and smirom.
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r-- | src/H5Dpkg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h index 4bf4e75..e2600a3 100644 --- a/src/H5Dpkg.h +++ b/src/H5Dpkg.h @@ -571,7 +571,7 @@ H5_DLL herr_t H5D_contig_copy(H5F_t *f_src, const H5O_layout_t *layout_src, H5F_ H5O_layout_t *layout_dst, H5T_t *src_dtype, H5O_copy_t *cpy_info, hid_t dxpl_id); /* Functions that operate on chunked dataset storage */ -H5_DLL hbool_t H5D_chunk_cacheable(const H5D_io_info_t *io_info, haddr_t caddr); +H5_DLL hbool_t H5D_chunk_cacheable(const H5D_io_info_t *io_info); H5_DLL herr_t H5D_chunk_cinfo_cache_reset(H5D_chunk_cached_t *last); H5_DLL herr_t H5D_chunk_create(H5D_t *dset /*in,out*/, hid_t dxpl_id); H5_DLL herr_t H5D_chunk_init(H5F_t *f, hid_t dapl_id, hid_t dxpl_id, const H5D_t *dset); |