summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:37:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:37:11 (GMT)
commit1b27db1755be9cef391ee93a0e3c03360cd0c8ff (patch)
tree3e413f6e2e0f9e3a141dabdb0708d6e9dc955b15 /src/H5Fpkg.h
parent649ddde342329272100b74c7be0cd3c9fc5f8793 (diff)
downloadhdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.zip
hdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.tar.gz
hdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.tar.bz2
[svn-r7861] Purpose:
Bug fix Description: Our previous "optimization" of metadata writing which only wrote metadata from one process was abusing MPI-I/O and after some consultation with Rob Ross and Rajeev Thakur, Albert & I have come up with a solution... Solution: Instead of only writing from one process, issue a collective write operation with all processes, for metadata writes. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 631d482..257e990 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -185,11 +185,13 @@ struct H5F_t {
H5F_mtab_t mtab; /* File mount table */
};
+#ifdef OLD_METADATA_WRITE
#ifdef H5_HAVE_PARALLEL
/* Whether a single process writes metadata */
H5_DLLVAR hbool_t H5_mpi_1_metawrite_g;
H5_DLLVAR hbool_t H5_mpiposix_1_metawrite_g;
#endif /* H5_HAVE_PARALLEL */
+#endif /* OLD_METADATA_WRITE */
/* Private functions, not part of the publicly documented API */
#ifdef NOT_YET