summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-06-03 20:17:05 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-06-03 20:17:05 (GMT)
commit5a3f7830db03f5ec1711ffde4b0879920717293a (patch)
treedaa21cc0b45a719e6e7ab268dcdbb9de3adf6317
parent01cf824faa004d198412119942fa580deb4b71d3 (diff)
downloadhdf5-5a3f7830db03f5ec1711ffde4b0879920717293a.zip
hdf5-5a3f7830db03f5ec1711ffde4b0879920717293a.tar.gz
hdf5-5a3f7830db03f5ec1711ffde4b0879920717293a.tar.bz2
Improve debug output: when the lower file's shadow file image moves,
tell old and new shadow file offset.
-rw-r--r--src/H5Fvfd_swmr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 6a20350..cd9f45f 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -1241,9 +1241,11 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f, bool entering_api)
assert(old_mdf_idx[i].length == new_mdf_idx[j].length);
hlog_fast(shadow_index_update,
- "writer moved shadow at slot %" PRIu32
- " for page %" PRIu64, i,
- old_mdf_idx[i].hdf5_page_offset);
+ "shadow page for slot %" PRIu32 " lower page %" PRIu64
+ " moved, %" PRIu64 " -> %" PRIu64, i,
+ old_mdf_idx[i].hdf5_page_offset,
+ old_mdf_idx[i].md_file_page_offset,
+ new_mdf_idx[j].md_file_page_offset);
/* the page has been altered -- evict it and
* any contained metadata cache entries.