diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 23:39:14 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 23:39:14 (GMT) |
commit | 43eb81fb3c6997ded3a94593d543c413dfa2ce5a (patch) | |
tree | 6fd24a6afad6b69a30ea9677214d0ee2f6a4ea13 /src/H5FPprivate.h | |
parent | 0e83643f8f6505b9fb23989e1286f36572e34f72 (diff) | |
download | hdf5-43eb81fb3c6997ded3a94593d543c413dfa2ce5a.zip hdf5-43eb81fb3c6997ded3a94593d543c413dfa2ce5a.tar.gz hdf5-43eb81fb3c6997ded3a94593d543c413dfa2ce5a.tar.bz2 |
[svn-r6504] Purpose:
Why not?
Description:
Lots of changes. This is basically a "commit because there are a lot
of changes" commit.
The server now acts more like a metadata caching server. The dumping
mechanism finally works (I think). At least in the test I did it
seemed to write things back. There's a new MPI TAG to use
(H5FP_TAG_DUMP) when dumping things. Changed a lot of the functions
from passing a structure around to just passing a pointer to that
structure. I have no clue why I did it the previous way...
Um...And more synchronization stuff between the client and server.
The protocol between the two was being broke in a couple of places.
We're getting closer!
Platforms tested:
Linux (probably Modi4 too)
Misc. update:
Diffstat (limited to 'src/H5FPprivate.h')
-rw-r--r-- | src/H5FPprivate.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/H5FPprivate.h b/src/H5FPprivate.h index f34278f..c033182 100644 --- a/src/H5FPprivate.h +++ b/src/H5FPprivate.h @@ -111,6 +111,7 @@ enum { H5FP_TAG_READ, H5FP_TAG_METADATA, H5FP_TAG_ALLOC, + H5FP_TAG_DUMP, H5FP_TAG_FILE_ID }; @@ -173,12 +174,12 @@ typedef struct { H5FP_lock_t rw_lock; /* Indicates read or write lock */ H5FD_mem_t mem_type; /* Type of memory updated, if req'd */ unsigned md_size; /* Size of the metadata sent in next msg */ - MPI_Offset addr; /* Address of the metadata */ unsigned long feature_flags; /* Feature flags for the file driver */ hsize_t meta_block_size; /* Metadata block size */ hsize_t sdata_block_size; /* Small data block size */ hsize_t threshold; /* Alignment threshold */ hsize_t alignment; /* Alignment (really!) */ + haddr_t addr; /* Address of the metadata */ unsigned char oid[H5R_OBJ_REF_BUF_SIZE]; /* Buffer to store OID of object */ } H5FP_request; @@ -241,6 +242,7 @@ extern MPI_Comm H5FP_SAP_BARRIER_COMM; /* Comm if you want to do a barrier */ extern unsigned H5FP_sap_rank; /* The rank of the SAP: Supplied by user */ extern unsigned H5FP_capt_rank; /* The rank which tells SAP of opens */ +extern unsigned H5FP_capt_barrier_rank;/* Rank of captain in barrier comm */ #ifdef __cplusplus extern "C" { @@ -250,11 +252,15 @@ extern "C" { extern herr_t H5FP_sap_receive_loop(void); /* Use these functions to communicate with the SAP */ -extern herr_t H5FP_request_open(H5FP_obj_t obj_type, MPI_Offset maxaddr, - unsigned long feature_flags, hsize_t - meta_block_size, hsize_t sdata_block_size, - hsize_t threshold, hsize_t alignment, - unsigned *file_id, unsigned *req_id); +extern herr_t H5FP_request_open(H5FP_obj_t obj_type, + haddr_t maxaddr, + unsigned long feature_flags, + hsize_t meta_block_size, + hsize_t sdata_block_size, + hsize_t threshold, + hsize_t alignment, + unsigned *file_id, + unsigned *req_id); extern herr_t H5FP_request_lock(unsigned sap_file_id, unsigned char *mdata, H5FP_lock_t rw_lock, int last, unsigned *req_id, H5FP_status_t *status); |