diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2017-03-14 16:46:29 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2017-03-14 16:46:29 (GMT) |
commit | 1da81639f6352598dd6a00f2dd66739e69c1aba9 (patch) | |
tree | a18ccbd829ec11dd375144ea18879726c1e97bbe /src/H5VLdaosm.h | |
parent | 83cd06479ce3e93653f287faacf00edf75e9f16d (diff) | |
download | hdf5-1da81639f6352598dd6a00f2dd66739e69c1aba9.zip hdf5-1da81639f6352598dd6a00f2dd66739e69c1aba9.tar.gz hdf5-1da81639f6352598dd6a00f2dd66739e69c1aba9.tar.bz2 |
Modify DAOS-M plugin to call daos_pool_connect at plugin initialization
time, using a communicator passed to the initialization function. Add public functions H5VLdaosm_init and H5VLdaosm_term. Apps no longer need to call daos_init and daos_fini. Updated examples. Other minor fixes/cleanup.
Diffstat (limited to 'src/H5VLdaosm.h')
-rw-r--r-- | src/H5VLdaosm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/H5VLdaosm.h b/src/H5VLdaosm.h index dadb5b4..2774518 100644 --- a/src/H5VLdaosm.h +++ b/src/H5VLdaosm.h @@ -31,10 +31,8 @@ #include "daos.h" -#define H5VL_DAOSM (H5VL_daosm_init()) #define HDF5_VOL_DAOSM_VERSION_1 1 /* Version number of IOD VOL plugin */ -#else -#define H5VL_DAOSM (-1) + #endif #ifdef __cplusplus @@ -64,7 +62,6 @@ typedef struct H5VL_daosm_obj_t { /* The file struct */ typedef struct H5VL_daosm_file_t { H5VL_daosm_item_t item; /* Must be first */ - daos_handle_t poh; daos_handle_t coh; daos_epoch_t epoch; int snap_epoch; @@ -119,7 +116,7 @@ typedef struct H5VL_daosm_link_val_t { extern hid_t H5VL_DAOSM_g; -H5_DLL hid_t H5VL_daosm_init(void); +H5_DLL herr_t H5VL_daosm_init(void); #endif /* H5_HAVE_EFF */ |