summaryrefslogtreecommitdiffstats
path: root/src/H5PB.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-03-11 17:50:18 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-03-11 17:50:18 (GMT)
commit8cc8d63d5e70c9c93fae6ca0da3a85fbf95cccea (patch)
tree1f8e6d9caadbce0fe1f459ac2b858bd79383dd82 /src/H5PB.c
parent4e4c1c385083112352a66dd1a128f6863d77499f (diff)
downloadhdf5-8cc8d63d5e70c9c93fae6ca0da3a85fbf95cccea.zip
hdf5-8cc8d63d5e70c9c93fae6ca0da3a85fbf95cccea.tar.gz
hdf5-8cc8d63d5e70c9c93fae6ca0da3a85fbf95cccea.tar.bz2
Update Guide. Switch to a short and informative function name.
Diffstat (limited to 'src/H5PB.c')
-rw-r--r--src/H5PB.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index 8f10412..5be477b 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -1106,8 +1106,7 @@ done:
* this routine performs an O(n) copy of index entries.
*/
static int
-vfd_swmr_mdf_idx_entry_remove(H5F_shared_t *shared, uint64_t page,
- bool only_mark)
+shadow_idx_entry_remove(H5F_shared_t *shared, uint64_t page, bool only_mark)
{
ptrdiff_t i;
H5FD_vfd_swmr_idx_entry_t *entry;
@@ -1556,7 +1555,7 @@ H5PB_vfd_swmr__set_tick(H5F_shared_t *shared)
if ( shared->tick_num != pb_ptr->cur_tick + 1 )
HGOTO_ERROR(H5E_PAGEBUF, H5E_SYSTEM, FAIL, \
- "shared->tick_num != pb_ptr->cur_tick + 1 ?!?!")
+ "shared->tick_num (%" PRIu64 ") != (%" PRIu64 ") pb_ptr->cur_tick + 1 ?!?!", shared->tick_num, pb_ptr->cur_tick)
pb_ptr->cur_tick = shared->tick_num;
@@ -2380,8 +2379,7 @@ H5PB__evict_entry(H5F_shared_t *shared, H5PB_entry_t *entry_ptr, bool force,
* the image will be bigger. So the shadow file will never see the
* entire image written, just the first page of the image.
*/
- if (vfd_swmr_mdf_idx_entry_remove(shared, entry_ptr->page,
- only_mark) == -1) {
+ if (shadow_idx_entry_remove(shared, entry_ptr->page, only_mark) == -1) {
HGOTO_ERROR(H5E_PAGEBUF, H5E_SYSTEM, FAIL,
"failed to remove shadow index entry")
}