summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_link.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-09-10 23:02:03 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-09-10 23:02:03 (GMT)
commit5f6d336144b6af368373e80038488e860b28cb7b (patch)
treee71f35941f1143938744b9388b595f8cc4490173 /src/H5VLiod_link.c
parent263d13a4c760c61c293ae9840aaf2f4ce76d541a (diff)
downloadhdf5-5f6d336144b6af368373e80038488e860b28cb7b.zip
hdf5-5f6d336144b6af368373e80038488e860b28cb7b.tar.gz
hdf5-5f6d336144b6af368373e80038488e860b28cb7b.tar.bz2
[svn-r24122] more transactions/read contexts
- include 2 examples for using transactions - IOD calls at server side still need to be updated
Diffstat (limited to 'src/H5VLiod_link.c')
-rw-r--r--src/H5VLiod_link.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5VLiod_link.c b/src/H5VLiod_link.c
index 21f9e20..fb8c89c 100644
--- a/src/H5VLiod_link.c
+++ b/src/H5VLiod_link.c
@@ -48,6 +48,8 @@ H5VL_iod_server_link_create_cb(AXE_engine_t UNUSED axe_engine,
link_create_in_t *input = (link_create_in_t *)op_data->input;
H5VL_link_create_type_t create_type = input->create_type;
iod_handle_t coh = input->coh; /* the container handle */
+ iod_trans_id_t wtid = input->trans_num;
+ iod_trans_id_t rtid = input->rcxt_num;
iod_handle_t src_oh; /* The handle for creation src object */
iod_obj_id_t src_id; /* The ID of the creation src object */
iod_handle_t target_oh;
@@ -191,6 +193,8 @@ H5VL_iod_server_link_move_cb(AXE_engine_t UNUSED axe_engine,
link_move_in_t *input = (link_move_in_t *)op_data->input;
hbool_t copy_flag = input->copy_flag;
iod_handle_t coh = input->coh; /* the container handle */
+ iod_trans_id_t wtid = input->trans_num;
+ iod_trans_id_t rtid = input->rcxt_num;
iod_handle_t src_oh; /* The handle for src object group */
iod_obj_id_t src_id; /* The ID of the src object */
iod_handle_t dst_oh; /* The handle for the dst object where link is created*/
@@ -366,6 +370,7 @@ H5VL_iod_server_link_exists_cb(AXE_engine_t UNUSED axe_engine,
iod_handle_t cur_oh;
iod_obj_id_t cur_id;
const char *loc_name = input->path;
+ iod_trans_id_t rtid = input->rcxt_num;
char *last_comp = NULL;
htri_t ret = -1;
iod_size_t kv_size = 0;
@@ -450,6 +455,7 @@ H5VL_iod_server_link_get_info_cb(AXE_engine_t UNUSED axe_engine,
iod_handle_t cur_oh;
iod_obj_id_t cur_id;
const char *loc_name = input->path;
+ iod_trans_id_t rtid = input->rcxt_num;
char *last_comp = NULL;
H5VL_iod_link_t iod_link;
herr_t ret_value = SUCCEED;
@@ -549,6 +555,7 @@ H5VL_iod_server_link_get_val_cb(AXE_engine_t UNUSED axe_engine,
iod_handle_t loc_oh = input->loc_oh;
iod_obj_id_t loc_id = input->loc_id;
size_t length = input->length;
+ iod_trans_id_t rtid = input->rcxt_num;
iod_handle_t cur_oh;
iod_obj_id_t cur_id;
const char *loc_name = input->path;
@@ -646,6 +653,8 @@ H5VL_iod_server_link_remove_cb(AXE_engine_t UNUSED axe_engine,
iod_handle_t coh = input->coh;
iod_handle_t loc_oh = input->loc_oh;
iod_obj_id_t loc_id = input->loc_id;
+ iod_trans_id_t wtid = input->trans_num;
+ iod_trans_id_t rtid = input->rcxt_num;
iod_handle_t cur_oh;
iod_obj_id_t cur_id;
const char *loc_name = input->path;