diff options
-rw-r--r-- | src/H5Fint.c | 3 | ||||
-rw-r--r-- | src/H5Fpkg.h | 5 | ||||
-rw-r--r-- | src/H5Fvfd_swmr.c | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index e650878..3c4006b 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -2013,6 +2013,9 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id) /* Short cuts */ shared = file->shared; +#if 1 /* Kent*/ + H5F_post_vfd_swrm_log_entry(file,0,NULL); +#endif lf = shared->lf; /* Set the file locking flag. If the file is already open, the file diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index c94c5af..b9cc015 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -469,6 +469,10 @@ struct H5F_shared_t { * manager */ + int vfd_swmr_log_fd; + hbool_t use_vfd_swmr_log; + double vfd_swmr_log_time_elapsed; + /* Delayed free space release doubly linked list */ shadow_defree_queue_t shadow_defrees; @@ -608,4 +612,5 @@ H5_DLL htri_t H5F__same_file_test(hid_t file_id1, hid_t file_id2); H5_DLL herr_t H5F__reparse_file_lock_variable_test(void); #endif /* H5F_TESTING */ +H5_DLL void* H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char * body); #endif /* H5Fpkg_H */ diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index 69e03a0..f5e13ab 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -1886,3 +1886,8 @@ H5F_vfd_swmr_process_eot_queue(hbool_t entering_api) done: FUNC_LEAVE_NOAPI(ret_value) } + +void* H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char * body) { + + +} |