summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-04-17 14:52:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-04-17 14:52:41 (GMT)
commitd6923f46e0f0969aa0b73eb2c525dc8bf65e610c (patch)
tree691107678c0856aac60da073885814f3a672a340 /src/H5D.c
parent4d16aa5ab78589e0e09dcd3072a06b3681bf7d54 (diff)
downloadhdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.zip
hdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.tar.gz
hdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.tar.bz2
[svn-r351] Removed the access_mode argument from H5Pset_mpi which was later
used to open an HDF5 file with MPIO access. The design has changed to provide access-mode controll (independent or collective access) as an argument in the H5D read/write calls. Also removed the macros H5FACC_INDEPENDENT and H5FACC_COLLECTIVE. The original thinking was to define how a file is independent or collective access. They are replaced by the enum H5D_transfer_t with values of H5D_XFER_INDEPENDENT and H5D_XFER_COLLECTIVE. These values are used in the H5Pset_xfer to setup a data transfer property list to be used during the H5D read/write calls. The original access_mode field in the File access structure is still there. It would be removed soon once the transfer control can be passed down to the low level I/O routines.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index b06a9cf..b53ba33 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1186,7 +1186,7 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
dataset->ent.file->shared->access_parms.u.mpio.access_mode);
#endif
access_mode_saved = dataset->ent.file->shared->access_parms.u.mpio.access_mode;
- dataset->ent.file->shared->access_parms.u.mpio.access_mode = H5ACC_COLLECTIVE;
+ dataset->ent.file->shared->access_parms.u.mpio.access_mode = H5D_XFER_COLLECTIVE;
status = (sconv_func->read)(dataset->ent.file, &(dataset->layout),
&(dataset->create_parms->efl),
H5T_get_size (dataset->type), file_space,
@@ -1471,7 +1471,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
dataset->ent.file->shared->access_parms.u.mpio.access_mode);
#endif
access_mode_saved = dataset->ent.file->shared->access_parms.u.mpio.access_mode;
- dataset->ent.file->shared->access_parms.u.mpio.access_mode = H5ACC_COLLECTIVE;
+ dataset->ent.file->shared->access_parms.u.mpio.access_mode = H5D_XFER_COLLECTIVE;
status = (sconv_func->write)(dataset->ent.file, &(dataset->layout),
&(dataset->create_parms->efl),
H5T_get_size (dataset->type), file_space,