Commit Graph

3994 Commits

Author SHA1 Message Date
Songyu Lu
923e15b749 Some minor changes. 2021-03-15 10:49:43 -05:00
Songyu Lu
11486e26a2 Changing the signal handling to named pipe for better portablity. 2021-03-10 11:07:21 -06:00
Dana Robinson
ef5a1941f7 Merge remote-tracking branch 'canonical/feature/vfd_swmr' into vfd_swmr/thg_standards 2021-03-04 11:54:43 -08:00
Dana Robinson
99237a7291 Switch to using H5_nanosleep() instead of HDnanosleep()
* Just in the main library and test/vfd_swmr.c
* VFD SWMR acceptance tests still use HDnanosleep() directly
2021-03-02 16:04:42 -08:00
Dana Robinson
ae24b82f77 Brings MacOS fixes from main feature branch 2021-03-02 14:30:01 -08:00
vchoi
c18b6eaea8 Add test settings for vfd_swmr_bigset_writer.c based on HDF5TestExpress:
Default, Exhaustive, and quick runs.
2021-03-02 11:59:33 -06:00
Dana Robinson
69b2061d68 HD prefix and hbool_t changes in test/vfd_swmr.c 2021-03-02 06:42:50 -08:00
Dana Robinson
f1bc0c97a9 Makes libgen.h functions ready for implementation on Windows 2021-03-02 03:22:50 -08:00
Dana Robinson
6639693cff Removed most C library include lines from tests 2021-03-02 02:51:55 -08:00
Dana Robinson
eea7c11b6a Fix unfreed memory after fork in vfd_swmr test
The writer configuration in the vfd_swmr test was not freed in the
child process after a call to fork() causing a memory leak.
2021-03-02 02:39:36 -08:00
vchoi
d9f44665cd Revert "Add the two VFD SWMR demo programs to the test directory so that they can be built as needed."
This reverts commit f6e7edcedf.
2021-03-01 18:10:07 -06:00
vchoi
f792bdbbc5 Merge remote-tracking branch 'canonical/feature/vfd_swmr' into feature/vfd_swmr 2021-03-01 18:04:33 -06:00
Dana Robinson
d7b277a22a Improves autotools and CMake support for sigtimedwait alternative 2021-03-01 13:54:27 -08:00
Dana Robinson
77f2b0b207 Fixes leading underscores in VFD SWMR include guards 2021-03-01 12:45:20 -08:00
vchoi
f6e7edcedf Add the two VFD SWMR demo programs to the test directory so that they can be built as needed. 2021-02-26 13:54:11 -06:00
Dana Robinson
0e9f9a280a Adds MacOS work-around for sigtimedwait(2) in the VFD SWMR tests 2021-02-26 11:34:53 -08:00
songyulu
c20fb7c76d Corrected a typo in the comment. 2021-02-15 11:26:34 -06:00
songyulu
1d6b21a4a1 Added some comments. 2021-02-12 16:21:34 -06:00
songyulu
ddd24e2651 Adding the test case for fixed-array chunked dataset and VDS. 2021-02-12 11:26:39 -06:00
vchoi
d8e77f13be (1) Add new routine to configure for VFD SWMR: init_vfd_swmr_config()
(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
2021-02-02 16:01:35 -06:00
Dana Robinson
16fbbfb766 Updates CMake files to work with VFD SWMR
- CMake files were updated to build new files in src and test.

- As with legacy SWMR, the test programs that are run via shell
  scripts are built but not run.

- Updated whitespace in the links_env output file. It's unclear why
  this changed, but CMake does an exact diff on the file whereas
  the autotools do not.
2020-10-14 10:45:53 -07:00
David Young
aebc84053f Merge branch 'vswmr-base' into quiet-zoo 2020-09-17 15:31:33 -05:00
David Young
07ad063b4b Limit the repeat rate for duplicate zoo warnings to once every five
seconds.
2020-09-17 15:24:36 -05:00
David Young
8e2053bb3d Move below_speed_limit() from vfd_swmr_bigset_writer.c to
vfd_swmr_common.c, document it, and fix a bug.
2020-09-17 14:35:54 -05:00
David Young
da688311af Document some of the functions in here. Update the comment at the top
of the file.  NFCI.
2020-09-17 14:34:46 -05:00
Dana Robinson
a56e5dc7e4 Fixes a leak of the metadata index memory 2020-09-14 10:48:02 -05:00
David Young
de03f876f5 Merge branch 'feature/vfd_swmr' into multi 2020-09-14 10:47:34 -05:00
Dana Robinson
361861da89 Merge pull request #1 in ~DYOUNG/vchoi_fork from ~DEROBINS/hdf5_der:svd_multi_memory_fix to multi
* commit '09981b58d800d784a2aa7e3ea5f7f1cad576e8db':
  Fixes a leak of the metadata index memory
2020-09-08 20:04:06 -05:00
Dana Robinson
09981b58d8 Fixes a leak of the metadata index memory 2020-09-08 14:59:33 -07:00
David Young
1acfef5737 Rewrap lines. 2020-09-03 16:48:33 -05:00
David Young
ff8b70dc0f Merge branch 'feature/vfd_swmr' into multi 2020-09-03 14:58:57 -05:00
David Young
9bb743136e Individually track the steps verified on each dataset. Take care
not to skip a step.
2020-09-03 14:58:15 -05:00
David Young
a4a969f0fd Give an overview of the bigsets test in a mega-comment at the top. Also,
describe the test pattern.  And while I'm here, repair a comment,
s/writer/reader/.
2020-09-03 14:58:14 -05:00
David Young
a9d7f0d2ec Merge branch 'feature/vfd_swmr' into multi 2020-08-25 15:47:07 -05:00
David Young
c97970f7a1 Use the terminology "expected" and "unexpected" errors instead of "soft" and
"hard" errors.
2020-08-25 15:46:34 -05:00
David Young
563665c894 Merge branch 'feature/vfd_swmr' into multi 2020-08-21 13:44:27 -05:00
David Young
482ee0765d Apply Dana's fix for production mode builds. 2020-08-21 13:43:08 -05:00
David Young
0bbf92da01 Merge branch 'feature/vfd_swmr' into multi 2020-08-21 09:53:50 -05:00
David Young
c68700769f Avoid potential shadow-file clashes, call the shadow file group-shadow. 2020-08-21 09:53:17 -05:00
David Young
d0f1d9ab7b Call the shadow files bigset-shadow-<number> for some <number>,
to avoid unlikely shadow-file clashes.
2020-08-21 09:52:26 -05:00
David Young
fe4b7110a7 Avoid potential shadow-file clashes, call the file generator-shadow. 2020-08-21 09:51:32 -05:00
David Young
88342f8b3f Use the safe calloc() idiom, p = calloc(1, sizeof(*p)), and do
not gratuitously cast to p's type.
2020-08-21 09:50:49 -05:00
David Young
2fe7d17a76 Avoid potential shadow-file clashes, call the shadow file rw-shadow. 2020-08-21 09:49:44 -05:00
David Young
2f30671e84 Straggler from last: call the shadow file vlstr-shadow. 2020-08-21 09:48:39 -05:00
David Young
24e6e55c56 Avoid shadow file clashes, call the file vlstr-shadow. 2020-08-21 09:48:17 -05:00
David Young
0c741c5997 To avoid potential clashes with other tests, call the shadow file zoo-shadow. 2020-08-21 09:47:14 -05:00
David Young
bcf91a09df Derive the name of the shadow file from the HDF5 file: drop the .h5, add
.shadow.
2020-08-21 09:46:30 -05:00
David Young
1373eec7e5 Merge branch 'feature/vfd_swmr' into multi 2020-08-18 17:43:01 -05:00
David Young
38310e9176 Sleep 1/10s between H5Dopen() tries. Make a couple of warning/error messages
more clear/correct.
2020-08-18 17:42:35 -05:00
David Young
2d1fc21f49 Merge branch 'feature/vfd_swmr' into multi 2020-08-18 12:08:37 -05:00