summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Extend VFD SWMR tick length and maximum lag parameters.David Young2020-05-091-2/+2
|
* Add esnprintf that prints to the given buffer, observing the givenDavid Young2020-05-061-0/+16
| | | | | buffer size, using vsnprintf(3), but exits with err(3)/errx(3) if the buffer is too small or if vsnprintf returns < 0.
* Avoid deadlock of reader and writer: make the writer flush file contentDavid Young2020-04-301-0/+6
| | | | before waiting for the reader's message.
* In fetch_env_ulong(), report a parse that consumes fewer than allDavid Young2020-04-301-1/+5
| | | | characters differently than other parse failures.
* Move fetch_env_ulong() from vfd_swmr.c to vfd_swmr_common.c for eventualDavid Young2020-04-281-0/+29
| | | | reuse by the zoo writer.
* Make await_signal() await any signal instead of just SIGINT. Add aDavid Young2020-04-211-4/+20
| | | | | (commented out) private version of strsignal(3), just in case we need one on some platform.
* Refactor: extract subroutine estack_get_state() for reuse in a commitDavid Young2020-04-161-1/+10
| | | | that's coming soon.
* Send debug messages to stderr instead of to stdout.David Young2020-04-161-1/+1
|
* Add tests for the two expected failure modes for variable-length (VL) stringsDavid Young2020-03-131-2/+64
| | | | in VFD SWMR mode.
* Add disable_estack() and restore_estack() for disabling the current error-stackDavid Young2020-03-121-5/+21
| | | | handling and restoring the previous error-stack handling.
* In await_signal(), print a less alarming message when exiting in normalDavid Young2020-03-091-1/+8
| | | | | | circumstances. Write a comment that tells why await_signal() periodically calls the HDF5 API.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-253/+48
| | | | | | | | including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
* (A) Fixes for the assertion failures described in issue #2 (see John ↵Vailin Choi2018-11-141-2/+2
| | | | | | | | | | | | Mainzer's last checkin message): --src/H5PB.c: checks for size >= page size --src/H5MF.c: disable/enable page buffering in H5MF_tidy_self_referential_fsm_hack() --src/H5MFsection.c: call H5PB_remove_entry() for both raw/metadata pages in H5MF__sect_small_merge() (B) Port and modify existing concurrent swmr tests to VFD SWMR. Also modify the following: --remove flushes from VFD SWMR writer tests --set Nreaders to 0 in test/testvfdswmr.sh.in to test for writers only Please enter the commit message for your changes. Lines starting
* Third batch of checkin:Vailin Choi2018-09-281-0/+288
1) Free space manager for the metadata file 2) Delayed free space release linked list 3) H5F_update_vfd_swmr_metadata_file() 3) VFD SWMR driver: read callback 4) Flushing for VFD SWMR 5) Port one concurrent test from swmr test set 6) Bug fixes and refactoring