summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Committing clang-format changesgithub-actions2022-04-211-3/+3
|
* Modifications to:vchoi2022-04-211-4/+5
| | | | | | | | | | | | A) Allow automatic generation of metadata file names for VDS support B) Allow VFD SWMR reader to open an existing HDF5 file either before the VFD SWMR writer has opened it or after it has closed. C) Remove the usage of H5P_FILE_ACCESS_ANY_VFD. D) Add H5FD_FEAT_SUPPORTS_VFD_SWMR feature flag. E) Do not map H5FD_MEM_GHEAP to H5FD_MEM_DRAW when vfd swmr IS enabled; map H5FD_MEM_GHEAP to H5FD_MEM_DRAW when vfd swmr is NOT enabled. For details regarding #A and #B above, see version 9 of the RFC.
* VFD SWMR: Aux process changes (#1451)Dana Robinson2022-02-181-1/+0
| | | | | | | | | | | * Removed the aux process submodule * Directly added aux process files after submodule delete * Updated Akadio copyright on appropriate files * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Updated VFD SWMR's Akadio licenseDana Robinson2022-02-171-0/+1
|
* Committing clang-format changesgithub-actions2021-11-171-5/+5
|
* 1) Core changes for adding NFS/updater support as described in the RFC.vchoi2021-11-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/H5Pfapl.c src/H5Fvfd_swmr.c src/H5Fpublic.h src/H5Fpkg.h src/H5Fprivate.h 2) For VFD SWMR testing, add private property for checksum generation of metadata files: src/H5Fint.c src/H5Fvfd_swmr.c src/H5Pfapl.c src/H5Fpkg.h src/H5Fprivate.h 3) Fix the following in H5F_vfd_swmr_init() and H5F_vfd_swmr_close_or_flush(): (a) Allocate metadata file index right after metadata file header. (b) Set tick number to 0 when creating header and index for file open case. (c) Remove tick number increment at file close. src/H5Fvfd_swmr.c src/H5Ftest.c 4) To be consistent with the RFC, change the name for field "chksum" to "checksum" in struct H5FD_vfd_swmr_idx_entry_t: src/H5FDprivate.h src/H5FDtest.c src/H5FDvfd_swmr.c src/H5Ftest.c src/H5PB.c 4) Add tests for NFS/updater test/vfd_swmr.c 5) Modify common routine init_vfd_swmr_config() to accept updater_file_path test/vfd_swmr_common.c test/vfd_swmr_common.h 6) Changes to the tests due to the common routine init_vfd_swmr_config(): test/vfd_swmr_addrem_writer.c test/vfd_swmr_attrdset_writer.c test/vfd_swmr_bigset_writer.c test/vfd_swmr_dsetchks_writer.c test/vfd_swmr_dsetops_writer.c test/vfd_swmr_generator.c test/vfd_swmr_gfail_writer.c test/vfd_swmr_gperf_writer.c test/vfd_swmr_group_writer.c test/vfd_swmr_reader.c test/vfd_swmr_remove_reader.c test/vfd_swmr_remove_writer.c test/vfd_swmr_sparse_reader.c test/vfd_swmr_sparse_writer.c test/vfd_swmr_vlstr_reader.c test/vfd_swmr_vlstr_writer.c test/vfd_swmr_writer.c test/page_buffer.c
* Committing clang-format changesgithub-actions2021-10-151-1/+2
|
* Clean up H5Fint.c, ready to implement the report function.myang62021-10-151-1/+1
|
* Test to just write a log file for H5Fopen. Add a testing routine ↵myang62021-10-151-0/+2
| | | | vfd_swmr_log_writer.c.
* Modifications to common routines used by VFD SWMR tests:vchoi2021-07-131-1/+3
| | | | | | (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.
* Merge pull request #436 from raylu-hdf/raylu_zoo_testraylu-hdf2021-04-131-1/+2
|\ | | | | Changed the signal handling to named pipes in the zoo test
| * Merge branch 'feature/vfd_swmr' of https://github.com/HDFGroup/hdf5 into ↵Songyu Lu2021-03-251-23/+16
| |\ | | | | | | | | | raylu_zoo_test
| * \ Merge branch 'feature/vfd_swmr' into raylu_zoo_testraylu-hdf2021-03-051-4/+3
| |\ \
| * | | Changed the signal handling to named pipes for communication between the ↵songyulu2021-03-051-0/+1
| | | | | | | | | | | | | | | | writer and reader, mainly in the zoo test as a starting point.
* | | | Fixed 1.6 compatibility issues and ran source formatterDana Robinson2021-03-261-2/+2
| |_|/ |/| |
* | | Updates license url and history docsDana Robinson2021-03-251-2/+1
| | |
* | | Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-18/+11
| | |
* | | Windows cleanupDana Robinson2021-03-101-8/+5
| | | | | | | | | | | | | | | * A splitter VFD test in vfd.c fails * Several vfd_swmr.c tests are #ifdef'd around
* | | Adds DLLVAR macros to allow exporting symbols on WindowsDana Robinson2021-03-091-1/+1
| | |
* | | Changes to help vfd_swmr.c build on WindowsDana Robinson2021-03-081-3/+7
| |/ |/|
* | Brings MacOS fixes from main feature branchDana Robinson2021-03-021-3/+3
|\ \
| * | Fixes leading underscores in VFD SWMR include guardsDana Robinson2021-03-011-3/+3
| |/
* | Removed most C library include lines from testsDana Robinson2021-03-021-1/+0
|/
* (1) Add new routine to configure for VFD SWMR: init_vfd_swmr_config()vchoi2021-02-021-30/+11
| | | | | | (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/+2
| | | | vfd_swmr_common.c, document it, and fix a bug.
* Straggler from last: update declaration of vfd_swmr_create_fapl().David Young2020-07-211-1/+2
|
* Add evsnprintf for printing a `va_list` to a buffer or aborting the program onDavid Young2020-07-211-0/+2
| | | | an overflow or other error.
* Add esnprintf that prints to the given buffer, observing the givenDavid Young2020-05-061-0/+2
| | | | | buffer size, using vsnprintf(3), but exits with err(3)/errx(3) if the buffer is too small or if vsnprintf returns < 0.
* Move fetch_env_ulong() from vfd_swmr.c to vfd_swmr_common.c for eventualDavid Young2020-04-281-0/+2
| | | | reuse by the zoo writer.
* To avoid name clashes, rename FILENAME -> COMMON_FILENAME inDavid Young2020-04-271-1/+1
| | | | test/vfd_swmr_common.h and in all files that #include it. Now I can
* Refactor: extract subroutine estack_get_state() for reuse in a commitDavid Young2020-04-161-0/+1
| | | | that's coming soon.
* Add tests for the two expected failure modes for variable-length (VL) stringsDavid Young2020-03-131-0/+11
| | | | in VFD SWMR mode.
* Add disable_estack() and restore_estack() for disabling the current error-stackDavid Young2020-03-121-4/+12
| | | | handling and restoring the previous error-stack handling.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-1/+10
| | | | | | | | 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-3/+3
| | | | | | | | | | | | 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/+78
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