summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-08-25 15:55:57 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-08-25 15:55:57 (GMT)
commit0286bb12de563c6aeb1b9d0c5be4afe717305477 (patch)
tree782744aa52a38c597b18f91d113c80a0936dfa5b /src
parente8dc2c232da25eb914ea41303bd15fe81e45564f (diff)
downloadhdf5-0286bb12de563c6aeb1b9d0c5be4afe717305477.zip
hdf5-0286bb12de563c6aeb1b9d0c5be4afe717305477.tar.gz
hdf5-0286bb12de563c6aeb1b9d0c5be4afe717305477.tar.bz2
[svn-r27576] - mark the entry as indepndent when expunged.
- disable the metadata coll hint for smoke checks 1 & 2.
Diffstat (limited to 'src')
-rw-r--r--src/H5C.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 528a142..b26bd93 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -966,6 +966,12 @@ H5C_expunge_entry(H5F_t *f, hid_t dxpl_id, const H5C_class_t *type,
HGOTO_ERROR(H5E_CACHE, H5E_CANTEXPUNGE, FAIL, "Target entry is protected.")
if(entry_ptr->is_pinned)
HGOTO_ERROR(H5E_CACHE, H5E_CANTEXPUNGE, FAIL, "Target entry is pinned.")
+#ifdef H5_HAVE_PARALLEL
+ if(entry_ptr->coll_access) {
+ entry_ptr->coll_access = FALSE;
+ H5C__REMOVE_FROM_COLL_LIST(cache_ptr, entry_ptr, FAIL)
+ }
+#endif /* H5_HAVE_PARALLEL */
/* If we get this far, call H5C__flush_single_entry() with the
* H5C__FLUSH_INVALIDATE_FLAG and the H5C__FLUSH_CLEAR_ONLY_FLAG.