summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-07 14:22:07 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-07 14:22:07 (GMT)
commit8d6c1eca16e792d70aa568db23db9198214f1178 (patch)
tree9ca8bb386a31b9c963fdf5e3e90b4f1b40d0600a /src
parent25bafe0063ca867b5f91645d5d51b87d121e9ac5 (diff)
downloadhdf5-8d6c1eca16e792d70aa568db23db9198214f1178.zip
hdf5-8d6c1eca16e792d70aa568db23db9198214f1178.tar.gz
hdf5-8d6c1eca16e792d70aa568db23db9198214f1178.tar.bz2
Add a log outlet and shorten the name of an existing outlet.
Diffstat (limited to 'src')
-rw-r--r--src/H5Fvfd_swmr.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index c0a6f3c..68711c7 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -91,7 +91,8 @@ HLOG_OUTLET_SHORT_DEFN(eot, swmr);
HLOG_OUTLET_SHORT_DEFN(shadow_defrees, swmr);
HLOG_OUTLET_MEDIUM_DEFN(noisy_shadow_defrees, shadow_defrees,
HLOG_OUTLET_S_OFF);
-HLOG_OUTLET_SHORT_DEFN(shadow_index_enlargement, swmr);
+HLOG_OUTLET_SHORT_DEFN(shadow_index_enlarge, swmr);
+HLOG_OUTLET_SHORT_DEFN(shadow_index_reclaim, swmr);
/*
* The head of the end of tick queue (EOT queue) for files opened in either
@@ -482,6 +483,10 @@ H5F_update_vfd_swmr_metadata_file(H5F_t *f, uint32_t num_entries,
HGOTO_ERROR(H5E_FILE, H5E_WRITEERROR, FAIL, \
"error in allocating space from the metadata file")
+ hlog_fast(noisy_shadow_defrees,
+ "shadow index %" PRIu32 " page offset %" PRIu64 " -> %" PRIuHADDR, i,
+ index[i].md_file_page_offset * f->shared->fs_page_size, md_addr);
+
HDassert(md_addr % f->shared->fs_page_size == 0);
/* Compute checksum and update the index entry */
@@ -1845,7 +1850,7 @@ vfd_swmr_enlarge_shadow_index(H5F_t *f)
FUNC_ENTER_NOAPI(NULL)
- hlog_fast(shadow_index_enlargement, "Enlarging shadow index.");
+ hlog_fast(shadow_index_enlarge, "Enlarging shadow index.");
old_mdf_idx = shared->mdf_idx;
old_mdf_idx_len = shared->mdf_idx_len;