summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-23 20:29:53 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-23 20:29:53 (GMT)
commitb1e2eceed77fa5dcab8f383cdad3a76d728802a0 (patch)
tree9a70b663ea098630aafad89e6db7547c45c4269f /src
parenta0b6979c6ff1eef468bd815cd6162709967cf060 (diff)
downloadhdf5-b1e2eceed77fa5dcab8f383cdad3a76d728802a0.zip
hdf5-b1e2eceed77fa5dcab8f383cdad3a76d728802a0.tar.gz
hdf5-b1e2eceed77fa5dcab8f383cdad3a76d728802a0.tar.bz2
Let the reader-side tick instrumentation know about the first tick read
from the shadow file.
Diffstat (limited to 'src')
-rw-r--r--src/H5Fvfd_swmr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 6e11446..9760794 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -251,6 +251,8 @@ H5F_vfd_swmr_init(H5F_t *f, hbool_t file_create)
HGOTO_ERROR(H5E_FILE, H5E_CANTLOAD, FAIL, \
"unable to load/decode metadata file")
+ assert(f->shared->tick_num != 0);
+ vfd_swmr_reader_did_increase_tick_to(f->shared->tick_num);
hlog_fast(tick, "%s first tick %" PRIu64,
__func__, f->shared->tick_num);