summaryrefslogtreecommitdiffstats
path: root/src/H5PB.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-07 15:56:50 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-07 15:56:50 (GMT)
commit25968a795b425d6ff634cb8fb4c54f9c129ef0d1 (patch)
tree97f59a1f6a653ee3c3502f5badde08f81840b541 /src/H5PB.c
parent1292630c62207c5fc6c979517fb0f827f1e2aa1f (diff)
downloadhdf5-25968a795b425d6ff634cb8fb4c54f9c129ef0d1.zip
hdf5-25968a795b425d6ff634cb8fb4c54f9c129ef0d1.tar.gz
hdf5-25968a795b425d6ff634cb8fb4c54f9c129ef0d1.tar.bz2
Add a new log outlet and change an `fprintf(stderr,` to an
`hlog_fast(lengthen_pbentry,`. This quiets one of the VFD SWMR tests.
Diffstat (limited to 'src/H5PB.c')
-rw-r--r--src/H5PB.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index 6544603..7d4122a 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -150,6 +150,7 @@ HLOG_OUTLET_SHORT_DEFN(pbflush_entry, pbflush);
HLOG_OUTLET_SHORT_DEFN(pbio, pagebuffer);
HLOG_OUTLET_SHORT_DEFN(pbrd, pbio);
HLOG_OUTLET_SHORT_DEFN(pbwr, pbio);
+HLOG_OUTLET_SHORT_DEFN(lengthen_pbentry, pagebuffer);
/*-------------------------------------------------------------------------
@@ -3913,7 +3914,7 @@ H5PB__write_meta(H5F_shared_t *shared, H5FD_mem_t type, haddr_t addr,
uint64_t last_page = page +
roundup(size, pb_ptr->page_size) / pb_ptr->page_size;
- fprintf(stderr,
+ hlog_fast(lengthen_pbentry,
"lengthening page %" PRIu64 " from %zu bytes to %zu, "
"last page %" PRIu64 "\n", page, entry_ptr->size, size,
last_page);