diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-06-24 22:19:09 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-06-24 22:19:09 (GMT) |
commit | 29cb102f121f79c2a678f036ff211a8bad91517f (patch) | |
tree | c72e468f88cc1139c395b2ddf0d87e01cabdc7ac /src/H5AC.c | |
parent | 75aa26981b4becc6926f4100707d9614e84a041c (diff) | |
parent | f410d5d842edfb8a3b4aea4cd72ff67cb0e5b1aa (diff) | |
download | hdf5-29cb102f121f79c2a678f036ff211a8bad91517f.zip hdf5-29cb102f121f79c2a678f036ff211a8bad91517f.tar.gz hdf5-29cb102f121f79c2a678f036ff211a8bad91517f.tar.bz2 |
[svn-r30104] Fixes evict-on-close feature by propagating global
flush flag up the function call stack and not setting
it during H5Dclose().
Diffstat (limited to 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2487,7 +2487,7 @@ done: *------------------------------------------------------------------------------ */ herr_t -H5AC_evict_tagged_metadata(H5F_t * f, haddr_t metadata_tag, hid_t dxpl_id) +H5AC_evict_tagged_metadata(H5F_t * f, haddr_t metadata_tag, hbool_t match_global, hid_t dxpl_id) { /* Variable Declarations */ herr_t ret_value = SUCCEED; @@ -2500,7 +2500,7 @@ H5AC_evict_tagged_metadata(H5F_t * f, haddr_t metadata_tag, hid_t dxpl_id) HDassert(f->shared); /* Call cache level function to evict metadata entries with specified tag */ - if(H5C_evict_tagged_entries(f, dxpl_id, metadata_tag) < 0) + if(H5C_evict_tagged_entries(f, dxpl_id, metadata_tag, match_global) < 0) HGOTO_ERROR(H5E_CACHE, H5E_CANTFLUSH, FAIL, "Cannot evict metadata") done: |