summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-12-14 19:53:31 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-12-14 19:53:31 (GMT)
commit2824e6bef0f9ea6550845f75ad4580349eafb822 (patch)
treeebabf264dc9e68fd6c6eb59442c7bee709415569 /src/H5Fint.c
parent7a0cdfbbacc86aa73e91dedc4d89e3e59214d50a (diff)
downloadhdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.zip
hdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.tar.gz
hdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.tar.bz2
[svn-r28649] - add new API to toggle collective metadata write.
- set default to FALSE - fix some bugs.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 33db083..4e44bcb 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -639,6 +639,8 @@ H5F_new(H5F_file_t *shared, unsigned flags, hid_t fcpl_id, hid_t fapl_id, H5FD_t
#ifdef H5_HAVE_PARALLEL
if(H5P_get(plist, H5_COLL_MD_READ_FLAG_NAME, &(f->coll_md_read)) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get collective metadata read flag")
+ if(H5P_get(plist, H5F_ACS_COLL_MD_WRITE_FLAG_NAME, &(f->coll_md_write)) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get collective metadata write flag")
#endif /* H5_HAVE_PARALLEL */
/* Get the VFD values to cache */