diff options
author | David Young <dyoung@hdfgroup.org> | 2020-04-16 20:26:00 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-04-16 20:26:00 (GMT) |
commit | 1f563c80b58b1d480af24a21c1da08a1217b9ac2 (patch) | |
tree | 16f84371f9e5061b1f5a86a6db38146904e6a037 /src/H5Fvfd_swmr.c | |
parent | c69d756f7514cdd8fdb3a18d3975144a91cefcbb (diff) | |
download | hdf5-1f563c80b58b1d480af24a21c1da08a1217b9ac2.zip hdf5-1f563c80b58b1d480af24a21c1da08a1217b9ac2.tar.gz hdf5-1f563c80b58b1d480af24a21c1da08a1217b9ac2.tar.bz2 |
Improve diagnostic logging.
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r-- | src/H5Fvfd_swmr.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index 4a7eba3..3c6df82 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -758,7 +758,9 @@ clean_shadow_index(H5F_t *f, uint32_t nentries, if (ie->clean) { hlog_fast(shadow_index_reclaim, - "Clean shadow index slot %" PRIu32 " last flush %" PRIu64 " ticks ago", i, tick_num - ie->tick_of_last_flush); + "Visiting clean shadow index slot %" PRIu32 + " lower page %" PRIu64 " last flush %" PRIu64 " ticks ago", + i, ie->hdf5_page_offset, tick_num - ie->tick_of_last_flush); } if (ie->clean && ie->tick_of_last_flush + max_lag < tick_num) { @@ -767,7 +769,8 @@ clean_shadow_index(H5F_t *f, uint32_t nentries, assert(ie->entry_ptr == NULL); hlog_fast(shadow_index_reclaim, - "Reclaiming shadow index slot %" PRIu32, i); + "Reclaiming shadow index slot %" PRIu32 + " lower page %" PRIu64, i, ie->hdf5_page_offset); if (ie->md_file_page_offset != 0) { if (shadow_image_defer_free(shared, ie) == -1) @@ -1137,9 +1140,8 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f) HDassert(!f->shared->vfd_swmr_writer); HDassert(f->shared->lf); - hlog_fast(eot, "--- reader EOT entering ---"); - hlog_fast(eot, "--- reader EOT init index used / len = %d / %d ---", - f->shared->mdf_idx_entries_used, f->shared->mdf_idx_len); + hlog_fast(eot, "%s enter index len %" PRIu32 " used %" PRIu32, + __func__, f->shared->mdf_idx_len, f->shared->mdf_idx_entries_used); /* 1) Direct the VFD SWMR reader VFD to load the current header * from the metadata file, and report the current tick. |