summaryrefslogtreecommitdiffstats
path: root/src/H5FPclient.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-03-27 21:34:21 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-03-27 21:34:21 (GMT)
commitfc295015d8500f495f5de9d6c9b007c45d21ca3e (patch)
treea083a96c2fbcfd2a3d26ff5cff69b829115c09fa /src/H5FPclient.c
parent5d51e5adebb7d20c132eab84ca5b3d16354d2acc (diff)
downloadhdf5-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/H5FPclient.c')
-rw-r--r--src/H5FPclient.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5FPclient.c b/src/H5FPclient.c
index 12080fa..4048120 100644
--- a/src/H5FPclient.c
+++ b/src/H5FPclient.c
@@ -613,7 +613,8 @@ done:
*/
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 *addr, haddr_t *eoa, unsigned *req_id,
+ H5FP_status_t *status)
{
H5FP_alloc_t sap_alloc;
H5FP_request_t req;
@@ -652,6 +653,7 @@ H5FP_request_allocate(H5FD_t *file, H5FD_mem_t mem_type, hsize_t size,
*status = H5FP_STATUS_OK;
*addr = sap_alloc.addr;
+ *eoa = sap_alloc.eoa;
done:
*req_id = req.req_id;