summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-06-24 22:19:09 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-06-24 22:19:09 (GMT)
commit29cb102f121f79c2a678f036ff211a8bad91517f (patch)
treec72e468f88cc1139c395b2ddf0d87e01cabdc7ac /src/H5AC.c
parent75aa26981b4becc6926f4100707d9614e84a041c (diff)
parentf410d5d842edfb8a3b4aea4cd72ff67cb0e5b1aa (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 2dfb7de..1604d35 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -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: