diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-19 17:20:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-19 17:20:01 (GMT) |
commit | e38803837f7f6357bff03bf6ad9c04ace52d38e3 (patch) | |
tree | f0453469640269798604c4170a4959b4cd466e65 /src/H5FPprivate.h | |
parent | 43f06303db610abc857711f4e4046c9db2750030 (diff) | |
download | hdf5-e38803837f7f6357bff03bf6ad9c04ace52d38e3.zip hdf5-e38803837f7f6357bff03bf6ad9c04ace52d38e3.tar.gz hdf5-e38803837f7f6357bff03bf6ad9c04ace52d38e3.tar.bz2 |
[svn-r7494] Purpose:
Bug fix
Description:
Buffer for decoding superblock's driver information was too small when
using some VFDs (like the multi-file VFD).
Also made FPH5 code more portable and obvious when it's broadcasting the
superblock from the captain process to the other clients.
Solution:
Allocate the buffer for the driver information dynamicly
Platforms tested:
Copper
No h5committest because it's already working on other platforms.
Diffstat (limited to 'src/H5FPprivate.h')
-rw-r--r-- | src/H5FPprivate.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/H5FPprivate.h b/src/H5FPprivate.h index ec28f67..0502fbe 100644 --- a/src/H5FPprivate.h +++ b/src/H5FPprivate.h @@ -241,6 +241,19 @@ typedef struct { extern MPI_Datatype H5FP_alloc; /* MPI datatype for the H5FP_alloc obj */ +/*===----------------------------------------------------------------------=== + * H5FP_super + *===----------------------------------------------------------------------=== + * + * The message broadcast from the captain on creating a new file. + */ +typedef struct { + haddr_t addr; /* Address of the superblock */ + hsize_t size; /* Size of superblock */ +} H5FP_super_t; + +extern MPI_Datatype H5FP_super; /* MPI datatype for the H5FP_super obj */ + /* SAP specific variables */ extern MPI_Comm H5FP_SAP_COMM; /* Comm we use: Supplied by user */ extern MPI_Comm H5FP_SAP_BARRIER_COMM; /* Comm if you want to do a barrier */ |