summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Adds generated filesDana Robinson2022-05-161-0/+4522
|
* Check for parallel HDF5 before running SWMR acceptance tests (#1764)Dana Robinson2022-05-111-4/+5
|
* New vds feature vfd swmr (#1743)vchoi-hdfgroup2022-05-065-345/+1212
| | | | | | | | | | | | | | | | | * 1) Add feature flag H5FD_FEAT_SUPPORTS_VFD_SWMR to sec2, core and stdio drivers 2) Disable file locking for VFD SWMR reader in H5F_open() 3) Add checking of VFD SWMR feature flag in test/page_buffer.c and test/vfd_swmr.c. Skip tests if the driver does not support VFD SWMR feature. 4) Add new tests + cleanups to test/vfd_swmr.c. * Committing clang-format changes * Fix failing check for Windows: Add the VFD SWMR feature flag also to test_windows() (which is sec2) in test/vfd.c. * Committing clang-format changes Co-authored-by: vchoi <vchoi@jelly.ad.hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Committing clang-format changesgithub-actions2022-04-2115-64/+70
|
* Modifications to:vchoi2022-04-2124-302/+387
| | | | | | | | | | | | 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: Merges from develop (#1670)Dana Robinson2022-04-212-864/+848
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cleans up SWMR test scripts (both legacy and VFD) * Brings over format source changes for Java * Normalization of HL, Fortran, C++, Java w/ develop * Removes the STATIC flavor of FUNC_ENTER macros (#1622) * Removes the STATIC flavor of FUNC_ENTER macros * Remove H5_NO_ALIGNMENT_RESTRICTIONS (#1426) * Do not conditionally compile code that uses a pointer dereference and assignment to copy a potentially unaligned variable to aligned automatic storage, or vice versa. Instead, always use naked `memcpy(3)`s. Disassembling the generated code reveals that the `memcpy(3)`s optimize (`-O3`) to a single `mov` instruction for x86_64, which is not strict about alignment. This change reduces the size of code and scripts by 143 lines, eases our way to cross-compilation, and avoids invoking undefined behavior. * Committing clang-format changes * Per discussion, use HD and add comments. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes unused definitions from module headers (#1624) * Misc stuff from develop (includes some parallel things) * Brings over SWMR test quiet mode changes from develop Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* VFD SWMR: Normalization with develop and cleanup (#1559)Dana Robinson2022-03-3119-3375/+1411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Brought over plugin and test script changes * Removes remaining register keywords (#1481) * Fixed warnings in the aux process code * Minor fixes from develop * Minor changes from develop, fixed format warnings * Formatted source * Added HD prefix to timespec_get * Cleanup in new files * Removes the MANIFEST file and unused release files (#1497) * Removes the MANIFEST file and unused release files * Updated tar command * checkposix corrections * More checkposix fixes * Ripped out unused instrumentation functionality * Brought over cache tagging changes from develop * Changes to tagged metadata expulsion iteration * Fixed typo * Brought over H5O__free() changes from develop * Brings (unused) parallel page buffer test in line with develop * Moved the functionality in supervise.subr to test_vfd_swmr.sh * Tools VFD parameter updates * Committing clang-format changes * H5F VFD SWMR refactoring * Committing clang-format changes * Misc changes * Acceptance test cleanup * HD prefix * H5_get_option instead of getopt * Some bool fixes * Changes to VFD SWMR acceptance tests * Minor cleanup * Use AC_MSG_RESULT/AC_MSG_ERROR/AC_MSG_WARN instead of echo (#1532) * Merges from develop Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* VFD SWMR: Normalization with develop (#1506)Dana Robinson2022-03-2330-572/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Brought over plugin and test script changes * Removes remaining register keywords (#1481) * Fixed warnings in the aux process code * Minor fixes from develop * Minor changes from develop, fixed format warnings * Formatted source * Added HD prefix to timespec_get * Cleanup in new files * Removes the MANIFEST file and unused release files (#1497) * Removes the MANIFEST file and unused release files * Updated tar command * checkposix corrections * More checkposix fixes * Ripped out unused instrumentation functionality * Brought over cache tagging changes from develop * Changes to tagged metadata expulsion iteration * Fixed typo * Brought over H5O__free() changes from develop * Brings (unused) parallel page buffer test in line with develop * Moved the functionality in supervise.subr to test_vfd_swmr.sh * Tools VFD parameter updates * Committing clang-format changes * H5F VFD SWMR refactoring * Committing clang-format changes * Misc changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* VFD SWMR: normalization with develop (#1472)Dana Robinson2022-03-06145-2506/+5332
| | | Much normalization with develop. Still needs tools changes wrt VFD plugins.
* VFD SWMR: Aux process changes (#1451)Dana Robinson2022-02-1826-26/+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-1726-56/+84
|
* Merge pull request #1333 from raylu-hdf/raylu_aux_processraylu-hdf2022-01-312-10/+180
|\ | | | | Changes Related to the Auxiliary Process
| * Committing clang-format changesgithub-actions2022-01-041-11/+12
| |
| * Rearragned how the auxiliary process is tested: let the test script launch ↵Ray Lu2022-01-042-31/+57
| | | | | | | | it if the --enable-aux-process option is enabled during configure.
| * Added the option to run the auxiliary process ('-A'). For now, it's enabled ↵Ray Lu2021-12-171-3/+146
| | | | | | | | by hand for testing.
* | Committing clang-format changesgithub-actions2022-01-101-157/+156
| |
* | Modifications to test/vfd_swmr_dsetops_writer.c for testing references.vchoi2022-01-102-79/+479
| | | | | | | | Add test for references to test/testvfdswmr.sh.in.
* | (A) Address issue #2 and issue #4 of the group test failures.vchoi2022-01-041-4/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Address issue #1 and issue #3 of the group test failures.vchoi2021-12-211-1/+121
|/ | | | | | | | See Kent's documentation "Designed to Fail Tests and Issues". (A) Fix for issue #1: HDassert the < and = cases between old and new entry length. John will take care of the > case. (B) Fix for issue #3: set the cache copy of page_size again if different from f->shared->fs_page_size.
* Committing clang-format changesgithub-actions2021-12-081-1/+1
|
* update the init_vfd_swmr_config to catch up the latest NFS pull requestmyang62021-12-081-2/+3
|
* Merge pull request #1247 from kyang2014/feature/vfd_swmrkyang20142021-12-083-3/+839
|\ | | | | Feature/vfd swmr
| * Committing clang-format changesgithub-actions2021-12-071-3/+3
| |
| * Revise comments to address the PR review.myang62021-12-071-2/+3
| |
| * Committing clang-format changesgithub-actions2021-12-061-6/+5
| |
| * Add comments.myang62021-12-061-0/+23
| |
| * Add some comments.myang62021-12-011-0/+4
| |
| * Committing clang-format changesgithub-actions2021-12-011-225/+225
| |
| * Add the test for independence of reader and writer.myang62021-12-013-3/+812
| |
* | VFD SWMR: Normalization with develop (#1270)Dana Robinson2021-12-0814-445/+229
| | | | | | Brings many October-November changes from develop
* | Add comments about the window test failure.vchoi2021-12-071-0/+1
| |
* | Trying to fix the PR's window test failures.vchoi2021-12-071-1/+3
| |
* | Clang format changes.vchoi2021-12-072-27/+28
| |
* | Changes to address feedback from PR review.vchoi2021-12-072-152/+158
| |
* | Committing clang-format changesgithub-actions2021-11-1716-259/+258
| |
* | 1) Core changes for adding NFS/updater support as described in the RFC.vchoi2021-11-1722-247/+1245
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #1156 from raylu-hdf/raylu_bigset_test2raylu-hdf2021-11-032-21/+45
|\ | | | | Two Minor Changes for the Big Set Test
| * Committing clang-format changesgithub-actions2021-11-011-14/+20
| |
| * Two purposes for this PR:Songyu Lu2021-11-012-41/+59
| | | | | | | | | | 1. added an option to enable the legacy SWMR in vfd_swmr_bigset_writer.c. 2. adjusted the options for big set test to make sure it passes the exhaustive test in testvfdswmr.sh.in.
* | Committing clang-format changesgithub-actions2021-11-021-89/+89
| |
* | 1. Close the log file when the file closing flag is true in ↵myang62021-11-023-2936/+33
| | | | | | | | | | | | | | | | H5F_vfd_swmr_close_or_flush(). 2. Move the log test to the group performance test code with an option. 3. Use constant variables for log message lengths. 4. Misc. clean-up.
* | Modify comments.Muqun Yang2021-10-281-4/+4
| |
* | Modify the description a bit.Muqun Yang2021-10-271-1/+1
| |
* | Committing clang-format changesgithub-actions2021-10-271-3/+3
| |
* | Add comments, descriptions for the VFD log feature.myang62021-10-272-68/+18
| |
* | Committing clang-format changesgithub-actions2021-10-152-3/+3
| |
* | Clean up H5Fint.c, ready to implement the report function.myang62021-10-153-4/+4
| |
* | Test to just write a log file for H5Fopen. Add a testing routine ↵myang62021-10-154-0/+2998
|/ | | | vfd_swmr_log_writer.c.
* VFD SWMR: Normalization with develop (#1078)Dana Robinson2021-10-0644-900/+2256
| | | Brings many changes from develop, particularly VOL changes for async
* Merge pull request #1006 from kyang2014/feature/vfd_swmrkyang20142021-10-014-9/+833
|\ | | | | Feature/vfd swmr