diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-27 21:34:21 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-27 21:34:21 (GMT) |
commit | fc295015d8500f495f5de9d6c9b007c45d21ca3e (patch) | |
tree | a083a96c2fbcfd2a3d26ff5cff69b829115c09fa /src/H5FPprivate.h | |
parent | 5d51e5adebb7d20c132eab84ca5b3d16354d2acc (diff) | |
download | hdf5-fc295015d8500f495f5de9d6c9b007c45d21ca3e.zip hdf5-fc295015d8500f495f5de9d6c9b007c45d21ca3e.tar.gz hdf5-fc295015d8500f495f5de9d6c9b007c45d21ca3e.tar.bz2 |
[svn-r6527] Purpose:
Bug Fix & Update
Description:
FPHDF5 was creating files which didn't have the EOA field in the
superblock set correctly. It turns out that the SAP was keeping this
information to itself instead of giving it to the client processes.
Naughty SAP!
Solution:
Have the SAP send this information back to the clients so that they
can update the superblock as necessary. This now creates a file (with
just the root group) that looks correct! Only problem is that there's
extra file space being allocated. Also, at program termination,
there's an infinite loop...
Platforms tested:
H5committests (run by hand on burrwhite, arabica, and modi4)
Misc. update:
Diffstat (limited to 'src/H5FPprivate.h')
-rw-r--r-- | src/H5FPprivate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5FPprivate.h b/src/H5FPprivate.h index 101e3a7..ea36397 100644 --- a/src/H5FPprivate.h +++ b/src/H5FPprivate.h @@ -231,6 +231,7 @@ typedef struct { H5FP_status_t status; /* Status of the request */ H5FD_mem_t mem_type; /* Type of memory updated, if req'd */ haddr_t addr; /* Address of the metadata */ + haddr_t eoa; /* End of address space */ } H5FP_alloc_t; extern MPI_Datatype H5FP_alloc; /* MPI datatype for the H5FP_alloc obj */ @@ -285,7 +286,8 @@ extern herr_t H5FP_request_close(H5FD_t *file, unsigned sap_file_id, extern herr_t H5FP_request_allocate(H5FD_t *file, H5FD_mem_t mem_type, hsize_t size, haddr_t *addr, - unsigned *req_id, H5FP_status_t *status); + haddr_t *eoa, unsigned *req_id, + H5FP_status_t *status); extern herr_t H5FP_request_free(H5FD_t *file, H5FD_mem_t mem_type, haddr_t addr, hsize_t size, unsigned *req_id, H5FP_status_t *status); |