summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Committing clang-format changesgithub-actions2021-07-131-2/+2
|
* Modifications to common routines used by VFD SWMR tests:vchoi2021-07-131-2/+25
| | | | | | (1) Add a parameter page_buf_size to the common routine vfd_swmr_create_fapl(). (2) Add a new common routine vfd_swmr_create_fcpl() to set the file space strategy and file space page size. VFD SWMR tests are modified accordingly to call the above routines.
* Committing clang-format changesgithub-actions2021-05-031-1/+1
|
* Add the old-styled group creation attribute tests.Muqun Yang2021-04-261-0/+4
|
* Merge pull request #436 from raylu-hdf/raylu_zoo_testraylu-hdf2021-04-131-0/+9
|\ | | | | Changed the signal handling to named pipes in the zoo test
| * Two main changes include: re-arranging the communication between the writer ↵Songyu Lu2021-04-051-9/+3
| | | | | | | | and reader through the named pipes; using the error report consistent with other tests.
| * Merge branch 'feature/vfd_swmr' of https://github.com/HDFGroup/hdf5 into ↵Songyu Lu2021-03-251-94/+106
| |\ | | | | | | | | | raylu_zoo_test
| * \ Merge branch 'feature/vfd_swmr' into raylu_zoo_testraylu-hdf2021-03-051-1/+86
| |\ \
| * | | Changed the signal handling to named pipes for communication between the ↵songyulu2021-03-051-0/+15
| | | | | | | | | | | | | | | | writer and reader, mainly in the zoo test as a starting point.
* | | | Fixed 1.6 compatibility issues and ran source formatterDana Robinson2021-03-261-3/+3
| |_|/ |/| |
* | | Updates license url and history docsDana Robinson2021-03-251-2/+1
| | |
* | | Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-34/+30
| | |
* | | Windows cleanupDana Robinson2021-03-101-5/+6
| | | | | | | | | | | | | | | * A splitter VFD test in vfd.c fails * Several vfd_swmr.c tests are #ifdef'd around
* | | Removes err.h cruft from genall5.c and vfd_swmr_common.cDana Robinson2021-03-101-28/+42
| | |
* | | Hides use of clock_gettime() on WindowsDana Robinson2021-03-091-0/+5
| | | | | | | | | | | | | | | timespec_get() is C11 and probably only has about 10 ms resolution. We may have to revisit this.
* | | Changes to help vfd_swmr.c build on WindowsDana Robinson2021-03-081-45/+42
| |/ |/|
* | Improves autotools and CMake support for sigtimedwait alternativeDana Robinson2021-03-011-7/+9
| |
* | Adds MacOS work-around for sigtimedwait(2) in the VFD SWMR testsDana Robinson2021-02-261-1/+84
|/
* (1) Add new routine to configure for VFD SWMR: init_vfd_swmr_config()vchoi2021-02-021-26/+47
| | | | | | (2) Revise routine to setup fapl for VFD SWMR legacy and other integration tests: vfd_swmr_create_fapl() (3) Update all VFD SWMR integration tests to use the above two routines (4) Clean up VFD SWMR legacy tests: turn on compression in test script, remove #ifdef OUT H5Fflush(), message file name
* Move below_speed_limit() from vfd_swmr_bigset_writer.c toDavid Young2020-09-171-0/+37
| | | | vfd_swmr_common.c, document it, and fix a bug.
* Document some of the functions in here. Update the comment at the topDavid Young2020-09-171-7/+22
| | | | of the file. NFCI.
* Add to the "bigset" writer a `-M` command-line option that enables the use ofDavid Young2020-07-211-2/+9
| | | | | | | multiple files with virtual datasets. Add to vfd_swmr_create_fapl() printf(3)-like arguments for setting the shadow filename. Update all callers.
* Add evsnprintf for printing a `va_list` to a buffer or aborting the program onDavid Young2020-07-211-4/+11
| | | | an overflow or other error.
* Wrap a line. NFCI.David Young2020-06-111-1/+2
|
* Delete code that has no effect: don't empty a mask set only to fill itDavid Young2020-06-111-3/+2
| | | | in the next expression.
* Cast a non-negative `int` to `size_t` before comparing with `size_t` so thatDavid Young2020-05-261-1/+1
| | | | the compiler believes we know what we're doing and does not warn.
* 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