summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2022-01-04 22:57:20 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2022-01-04 22:57:20 (GMT)
commitb12565b8151eae7c97f1a3cb2ed05e9c30cf6cf6 (patch)
treee79adb7ad13fde778af6eb6ea7821be448cdedb2 /src/H5private.h
parentcdc93ea7faa30084c6399b1a7cc5347e5654f860 (diff)
downloadhdf5-b12565b8151eae7c97f1a3cb2ed05e9c30cf6cf6.zip
hdf5-b12565b8151eae7c97f1a3cb2ed05e9c30cf6cf6.tar.gz
hdf5-b12565b8151eae7c97f1a3cb2ed05e9c30cf6cf6.tar.bz2
(A) Address issue #2 and issue #4 of the group test failures.
See Kent's documentation "Designed to Fail Tests and Issues". (a) Fix for issue #2: --Print out meaningful message about max_lag when there is checksum error in loading an entry via H5C__load_entry(). --H5C.c: H5C_protect() (b) Fix for issue #4: --Allocate more space when the copy of the index read from the metadata file is bigger than the existing size --H5Fvfd_swmr.c: H5F_vfd_swmr_reader_end_of_tick() (B) When putting the old index into the delayed free list, use the old writer_index_offset instead of the current writer_index_offset --H5Fvfd_swmr.c: vfd_swmr_enlarge_shadow_index() (C) When there is error form calling H5F_vfd_swmr_process_eot_queue() in VFD_SWMR_ENTER(err) and VFD_SWMR_LEAVE(err), should report FAIL instead of "err" --H5private.h: VFD_SWMR_ENTER and VFD_SWMR_LEAVE macros (D) Add tests to verify issue #2 and issue #4 are fixed.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 761ad17..58a4100 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -2145,7 +2145,8 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props);
else if (TAILQ_EMPTY(&eot_queue_g)) \
; /* Nothing to do. */ \
else if (H5F_vfd_swmr_process_eot_queue(true) < 0) { \
- HGOTO_ERROR(H5E_FUNC, H5E_CANTSET, err, "error processing EOT queue") \
+ /* Report error instead of "err" */ \
+ HGOTO_ERROR(H5E_FUNC, H5E_CANTSET, FALSE, "error processing EOT queue") \
} \
} while (0)
@@ -2160,7 +2161,8 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props);
else if (TAILQ_EMPTY(&eot_queue_g)) \
; /* Nothing to do. */ \
else if (H5F_vfd_swmr_process_eot_queue(false) < 0) { \
- HDONE_ERROR(H5E_FUNC, H5E_CANTSET, err, "error processing EOT queue") \
+ /* Report error instead of "err" */ \
+ HDONE_ERROR(H5E_FUNC, H5E_CANTSET, FALSE, "error processing EOT queue") \
} \
} while (0)