diff options
author | mainzer <mainzer#hdfgroup.org> | 2021-04-20 23:40:45 (GMT) |
---|---|---|
committer | mainzer <mainzer#hdfgroup.org> | 2021-04-20 23:40:45 (GMT) |
commit | 5a61dfb242371f233c54c391f6919055a020df5e (patch) | |
tree | 87043d0363cc0017692dd7753acddbb719d5d2ec /src/H5FDprivate.h | |
parent | 0c4922865fb9715b75f658fc308e2d7d6c847b77 (diff) | |
download | hdf5-5a61dfb242371f233c54c391f6919055a020df5e.zip hdf5-5a61dfb242371f233c54c391f6919055a020df5e.tar.gz hdf5-5a61dfb242371f233c54c391f6919055a020df5e.tar.bz2 |
Added vector read / write support to the MPIO VFD, with associated
test code (see testpar/t_vfd.c).
Note that this implementation does NOT support vector entries of
size greater than 2 GB. This must be repaired before release,
but it should be good enough for correctness testing.
As MPIO requires vector I/O requests to be sorted in increasing
address order, also added a vector sort utility in H5FDint.c This
function is tested in passing by the MPIO vector I/O extension.
In passing, repaired a bug in size / type vector extension management
in H5FD_read/write_vector()
Tested parallel debug and production on charis and Jelly.
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index d485ea9..82f51e8 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -145,6 +145,10 @@ H5_DLL herr_t H5FD_set_base_addr(H5FD_t *file, haddr_t base_addr); H5_DLL haddr_t H5FD_get_base_addr(const H5FD_t *file); H5_DLL herr_t H5FD_set_paged_aggr(H5FD_t *file, hbool_t paged); +H5_DLL herr_t H5FD_sort_vector_io_req(hbool_t *vector_was_sorted, uint32_t count, H5FD_mem_t types[], + haddr_t addrs[], size_t sizes[], void *bufs[], H5FD_mem_t **s_types_ptr, + haddr_t **s_addrs_ptr, size_t **s_sizes_ptr, void ***s_bufs_ptr); + /* Function prototypes for MPI based VFDs*/ #ifdef H5_HAVE_PARALLEL /* General routines */ |