summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authormainzer <mainzer#hdfgroup.org>2021-08-16 19:40:59 (GMT)
committermainzer <mainzer#hdfgroup.org>2021-08-16 19:40:59 (GMT)
commit355cb72ff12dc58c8ff6de63592dbe10ad84a085 (patch)
treeac320fdf18690b340621f14252514fdb3d531f79 /src/H5FDstdio.c
parent9bafad6eaf1aefe0ef827876a6606348500402fc (diff)
downloadhdf5-355cb72ff12dc58c8ff6de63592dbe10ad84a085.zip
hdf5-355cb72ff12dc58c8ff6de63592dbe10ad84a085.tar.gz
hdf5-355cb72ff12dc58c8ff6de63592dbe10ad84a085.tar.bz2
Added "ctl" callback to the VFD interfance, and the associated
H5FDctl() and H5FD_ctl() calls. Modified the MPIO VFD accordingly -- specifically: Added ctl() call with op-code support to expose rank, size, and communicator. Modified H5FD_mpi_get_rank(), H5FD_mpi_get_size(), and H5FD_mpi_get_comm() to use the new ctl() callback. In passing removed the const qualifier from the file parameter of these functions, as the file parameter of the ctl callback is not const. Deleted the old H5FD__mpio_mpi_rank(), H5FD__mpio_mpi_size(), and H5FD__mpio_communicator() calls from the MPIO VFD. Deleted H5FD_class_mpi_t from H5FDprivate.h, and modified the MPIO VFD accordingly. Note that all VFDs now use H5FD_class_t, with no special class for VFDs that that support MPI. Some minor touch ups to the Neil's selection I/O mods in passing. Tested serial and parallel, debug and production on charis and jelly.
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index a2be248..bb287b5 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -217,6 +217,7 @@ static const H5FD_class_t H5FD_stdio_g = {
H5FD_stdio_truncate, /* truncate */
H5FD_stdio_lock, /* lock */
H5FD_stdio_unlock, /* unlock */
+ NULL, /* ctl */
H5FD_FLMAP_DICHOTOMY /* fl_map */
};