diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2017-05-08 22:49:09 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2017-05-08 22:49:09 (GMT) |
commit | efb40ddee2eab95fc2eeb93601e4fca5037db75d (patch) | |
tree | 41bb13218edb1d96acfe8c6ab0fc89779ba744da | |
parent | f6968a63edb6b90b149774f4093648fe9599e15a (diff) | |
download | hdf5-efb40ddee2eab95fc2eeb93601e4fca5037db75d.zip hdf5-efb40ddee2eab95fc2eeb93601e4fca5037db75d.tar.gz hdf5-efb40ddee2eab95fc2eeb93601e4fca5037db75d.tar.bz2 |
Fix bug where H5Fcreate would ignore H5Pset_all_coll_metadata_ops
setting.
-rw-r--r-- | src/H5VLdaosm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5VLdaosm.c b/src/H5VLdaosm.c index c7aa399..80defda 100644 --- a/src/H5VLdaosm.c +++ b/src/H5VLdaosm.c @@ -1083,6 +1083,10 @@ H5VL_daosm_file_create(const char *name, unsigned flags, hid_t fcpl_id, /* Hash file name to create uuid */ H5VL_daosm_hash128(name, &file->uuid); + /* Determine if we requested collective object ops for the file */ + if(H5Pget_all_coll_metadata_ops(fapl_id, &file->collective) < 0) + HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property") + /* Generate oid for global metadata object */ daos_obj_id_generate(&gmd_oid, DAOS_OC_TINY_RW); @@ -1342,7 +1346,7 @@ H5VL_daosm_file_open(const char *name, unsigned flags, hid_t fapl_id, /* Determine if we requested collective object ops for the file */ if(H5Pget_all_coll_metadata_ops(fapl_id, &file->collective) < 0) - HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property") + HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property") if(file->my_rank == 0) { daos_epoch_t epoch; |