diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-05-01 20:11:22 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-05-01 20:11:22 (GMT) |
commit | e9bbc5650d3204da02d9336c6680d31e8761e04d (patch) | |
tree | 385c7cd1b5a68ae558e9210ab3055f9be5af1066 /src/H5VLiod_client.c | |
parent | 440ff068b3840627900675c649137b0a5d71fd28 (diff) | |
download | hdf5-e9bbc5650d3204da02d9336c6680d31e8761e04d.zip hdf5-e9bbc5650d3204da02d9336c6680d31e8761e04d.tar.gz hdf5-e9bbc5650d3204da02d9336c6680d31e8761e04d.tar.bz2 |
[svn-r23660] - Push IDs from clients to server
- Bug fixes
- Changes to input and output structs at client and server to make things cleaner
- cleaning up some dead code
Diffstat (limited to 'src/H5VLiod_client.c')
-rw-r--r-- | src/H5VLiod_client.c | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/src/H5VLiod_client.c b/src/H5VLiod_client.c index f82c8c5..656ef4a 100644 --- a/src/H5VLiod_client.c +++ b/src/H5VLiod_client.c @@ -676,7 +676,10 @@ H5VL_iod_local_traverse(H5VL_iod_object_t *obj, H5VL_loc_params_t loc_params, co *id = cur_id; *oh = cur_oh; - *new_name = strdup(path); + if(*path) + *new_name = strdup(path); + else + *new_name = strdup("."); done: free(cur_name); @@ -686,4 +689,34 @@ done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5VL_iod_local_traverse */ +#if 0 +static herr_t +H5VL_generate_axe_ids(int myrank, int nranks, uint64_t *start_id) +{ + uint64_t seed; + herr_t ret_value = SUCCEED; + + FUNC_ENTER_NOAPI_NOINIT + + seed = (pow(2,64) - 1) / nranks; + *start_id = seed * my_rank; + +done: + FUNC_LEAVE_NOAPI(ret_value) +} + +static herr_t +H5VL_iod_get_axe_id(int myrank, int nranks, int index, uint64_t *id) +{ + herr_t ret_value = SUCCEED; + + FUNC_ENTER_NOAPI_NOINIT + + + +done: + FUNC_LEAVE_NOAPI(ret_value) +} +#endif + #endif /* H5_HAVE_EFF */ |