summaryrefslogtreecommitdiffstats
path: root/src/H5Z.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-02-03 22:19:38 (GMT)
committerGitHub <noreply@github.com>2022-02-03 22:19:38 (GMT)
commit1c9f219463e236487a27cee6cb839379d670cda4 (patch)
treecb696ac5138940d8c22a376654a80c67b9266ba0 /src/H5Z.c
parent331cf6926d5f07a1edb75674299f9787d79d1d68 (diff)
downloadhdf5-1c9f219463e236487a27cee6cb839379d670cda4.zip
hdf5-1c9f219463e236487a27cee6cb839379d670cda4.tar.gz
hdf5-1c9f219463e236487a27cee6cb839379d670cda4.tar.bz2
Unify handling of collective metadata reads status (#1206) (#1417)
Diffstat (limited to 'src/H5Z.c')
-rw-r--r--src/H5Z.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index 6b44024..05c4da7 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -599,14 +599,9 @@ H5Z__flush_file_cb(void *obj_ptr, hid_t H5_ATTR_UNUSED obj_id, void H5_ATTR_PARA
/* Do a global flush if the file is opened for write */
if (H5F_ACC_RDWR & H5F_INTENT(f)) {
-/* When parallel HDF5 is defined, check for collective metadata reads on this
- * file and set the flag for metadata I/O in the API context. -QAK, 2018/02/14
- */
#ifdef H5_HAVE_PARALLEL
/* Check if MPIO driver is used */
if (H5F_HAS_FEATURE(f, H5FD_FEAT_HAS_MPI)) {
- H5P_coll_md_read_flag_t coll_md_read; /* Do all metadata reads collectively */
-
/* Sanity check for collectively calling H5Zunregister, if requested */
/* (Sanity check assumes that a barrier on one file's comm
* is sufficient (i.e. that there aren't different comms for
@@ -626,13 +621,8 @@ H5Z__flush_file_cb(void *obj_ptr, hid_t H5_ATTR_UNUSED obj_id, void H5_ATTR_PARA
/* Set the "sanity checked" flag */
object->sanity_checked = TRUE;
} /* end if */
-
- /* Check whether to use the collective metadata read DXPL */
- coll_md_read = H5F_COLL_MD_READ(f);
- if (H5P_USER_TRUE == coll_md_read)
- H5CX_set_coll_metadata_read(TRUE);
- } /* end if */
-#endif /* H5_HAVE_PARALLEL */
+ } /* end if */
+#endif /* H5_HAVE_PARALLEL */
/* Call the flush routine for mounted file hierarchies */
if (H5F_flush_mounts((H5F_t *)obj_ptr) < 0)