summaryrefslogtreecommitdiffstats
path: root/test/cache_image.c
Commit message (Collapse)AuthorAgeFilesLines
* fix unused related warningskmu2020-05-201-1/+1
|
* removed unused parameterkmu2020-05-201-1/+1
|
* remove unsed var,function,macro, etckmu2020-05-201-1/+1
|
* Add a `skip compact` configuration for skipping the "zoo" tests forDavid Young2020-04-211-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compact datasets. Bundle the zoo-test configuration into a new type, zoo_config_t. Add a couple new "zoo" test phases, "delete" and "validate-deletion", to the existing "create" and "verify" phases. Give names and numbers to all phases with the new `enum`, `phase_t`, and refactor so that tend_zoo runs a selection of phases at each step. Stub the "delete" and "validate-deletion" phases for most test steps. Actually implement for compact dataset (ds_cpt_i) test. In tend_zoo(), delay for 50 milliseconds after running all steps. Really, this should delay after each step.... Implement vfd_swmr_writer_may_increase_tick_to() and vfd_swmr_reader_did_increase_tick_to() with a file that reader and writer share. The reader saves its current tick number in the shared file. The writer does not advance its tick number past the reader's. Collect some statistics in vfd_swmr_writer_may_increase_tick_to() and print them before the writer exits. Add option flags for skipping compact dataset tests (-C) and for printing error stacks (-e). Update the usage message, which was stale before the new options were added. Delete some dead code. Add #if 0'd-out code for the reader to wait for the writer before running "delete" and "validate-deletion" steps.
* Delete an empty line. NFCI.David Young2020-04-211-1/+0
|
* Prepare for reuse in vfd_swmr_zoo_{reader,writer}: inDavid Young2020-03-311-6/+6
| | | | | | validate_zoo()/check_zoo(), instead of checking/modifying the global variable `pass`, just return `false` on failure, `true` on success. Update test `cache_image` to match.
* Deduplicate create_zoo() and validate_zoo() and refactor for reuse byDavid Young2020-03-201-6/+6
| | | | | | VFD SWMR tests. This change reduces the length of genall5.c by 171 lines.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-1606/+1738
| | | | | | | | 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!
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-12/+12
| | | | | | | | | Description: Applied the typo fixes from user's report. The previous pull request couldn't be merged because it was too old, and it was too complicated for me to resolve conflicts. Platform tested: Linux/64 (jelly) - very minor
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* The cache_image test shows a skipped message about EoC in parallel.Dana Robinson2017-04-201-9/+9
|
* Added code to disable the evict-on-close feature inDana Robinson2017-04-191-0/+8
| | | | the parallel library.
* Omnibus checkin for several relatively minor modifications:mainzer2017-03-281-7/+460
| | | | | | | | | | | | | | | | | | | | 1) Added code test/page_buffer.c to verify that page buffering is disabled in parallel builds. 2) Added code to test/cache_image.c to verify correct interaction between evict on close and cache image -- in particular management of a file containing a cache image containing dirty metadata that has been opened R/O. Also fix for the bug exposed. 3) Added code to testpar/t_cache_image.c to verify expected procedure for reading cache images, and also supporting stats collection code needed for the test. 4) Repair of an overactive sanity check in H5C__reconstruct_cache_contents(). 5) Other minor tidies in passing. Tested serial and parallel, debug and production on Jelly.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-17/+515
|
* Merge in reentrency changes to "make space in cache" from page_buffering branch.Quincey Koziol2017-03-131-11/+638
|
* Misc. small cleanups to sync against incoming page buffering changes.Quincey Koziol2017-03-021-1/+1
|
* Revert whitespaceAllen Byrne2017-02-131-1206/+1206
|
* Close file before trying to remove itAllen Byrne2017-02-131-1206/+1213
|
* Add missing filesQuincey Koziol2017-01-291-0/+6490