diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2022-02-04 16:54:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 16:54:39 (GMT) |
commit | 1c10010a316c0885cd71fad6c8d0067a0eb8f7f1 (patch) | |
tree | 0dc1fbb6618480b56fc71743e89c89e946d205c3 /src/H5Z.c | |
parent | 79d93d1661563f3570b2d0128a07bc7d7fc93ea8 (diff) | |
download | hdf5-1c10010a316c0885cd71fad6c8d0067a0eb8f7f1.zip hdf5-1c10010a316c0885cd71fad6c8d0067a0eb8f7f1.tar.gz hdf5-1c10010a316c0885cd71fad6c8d0067a0eb8f7f1.tar.bz2 |
Unify handling of collective metadata reads status (#1206) (#1418)
Diffstat (limited to 'src/H5Z.c')
-rw-r--r-- | src/H5Z.c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -599,14 +599,9 @@ H5Z__flush_file_cb(void *obj_ptr, hid_t H5_ATTR_UNUSED obj_id, void *key H5_ATTR /* 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 *key H5_ATTR /* 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) |