summaryrefslogtreecommitdiffstats
path: root/src/H5Pfapl.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't check an unsigned integer for being negative. Quiets a GCC warning.David Young2020-07-141-1/+1
|
* Make a VFD SWMR writer use the SWMR VFD, to facilitate avoiding conflictingDavid Young2020-07-101-5/+2
| | | | | | multiple opens of the same file with VFD SWMR---i.e., twice for writing, or for reading and for writing. In the long run, this will help me encapsulate more of the SWMR functionality in the VFD, too.
* Repair a bunch of H5_ATTR_SANITY_CHECK uses that should have beenDavid Young2020-05-201-2/+1
| | | | | H5_ATTR_NDEBUG_UNUSED. This really makes me wonder what else I have screwed up in this merge....
* Trim trailing whitespaceQuincey Koziol2020-05-201-1/+1
|
* H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables andDavid Young2020-05-201-1/+2
| | | | parameters that are unused under some configurations.
* Updated the 'const memory free' changes based on PR feedback.Dana Robinson2020-05-201-17/+4
|
* Added a free wrapper that lets us free constant pointers withoutDana Robinson2020-05-201-7/+10
| | | | | | | generating warnings. Also, brought the const-ness of the VOL connector info in line with the VFD info (not visible externally).
* fix unused related warningskmu2020-05-201-4/+4
|
* Numerous changes supporting a floating shadow index:David Young2020-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Add to the H5F_shared_t (!) a new member that tells the index in the shadow file where the index should be written. Allocate shadow filespace for the header and the index separately so that the index can float. Update tests to match the expected original location of the index. Introduce vfd_swmr_enlarge_shadow_index(), a routine that allocates space in the shadow file for a new index that has (up to) twice as many entries as the old index, allocates a new in-core index of the same size, and copies the old in-core index to the new. Call vfd_swmr_enlarge_shadow_index() in H5PB_vfd_swmr__update_index() when the in-core index has too few slots. In the comment at the top of H5FD__vfd_swmr_load_hdr_and_idx(), describe the protocol that it follows, now, when it reads the shadow header and index. Delete some dead code in the function and add a bit of diagnostic code. TBD quiet the diagnostic code. In H5F_vfd_swmr_init(), follow the protocol: write the index, first, then the header. Modify property-list checks and tests to reserve no fewer than two pages at the front of the shadow file for the header and index.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-142/+1021
| | | | | | | | 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!
* Modifications for the following items in the punch list:Vailin Choi2019-11-141-4/+10
| | | | | | | | | (A) #5: Add the "pb_expansion_threshold" field to the "H5F_vfd_swmr_config_t" structure and update H5Pset_vfd_swmr_config() and H5Pget_vfd_swmr_config() accordingly (B) #13 bullet 2: Comment H5F_vfd_swmr_config_t in H5Fpublic.h properly (copied from John's description in the RFC) (C) Change the field name "vfd_swmr_writer" to "writer" in "struct H5F_vfd_swmr_config_t" (as indicated on page 11 in the RFC) and all references to it
* Good-bye md_open_tries.David Young2019-11-141-5/+0
|
* Use h5_retry_init/_next to retry loading the SWMR shadow file.David Young2019-09-121-0/+5
|
* (1) Fix for accumulator issue #1 as described in John's previous checkinVailin Choi2018-12-021-1/+2
| | | | | | (2) Test files for encoding/decoding property lists (3) Fix test failures for PB statistics in test/page_buffer.c (Will double check with John later about PB statistics collection)
* Third batch of checkin:Vailin Choi2018-09-281-2/+2
| | | | | | | | | | 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
* Merge branch 'develop' of ↵Vailin Choi2018-09-261-128/+128
|\ | | | | | | | | | | | | | | | | | | https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into feature/vfd_swmr Conflicts: src/H5AC.c src/H5F.c src/H5Pfapl.c Resolve conflicts for H5AC.c, H5F.c and H5Pfapl.c
| * Normalization with vol_integration (property lists, file drivers,Dana Robinson2018-09-211-129/+129
| | | | | | | | other misc).
* | Second batch of checkin:Vailin Choi2018-09-041-1/+11
| | | | | | | | | | | | | | | | 1) Define driver for the VFD SWMR reader 2) Implement VFD SWMR open callback 3) Implement H5FD_vfd_swmr_get_tick_and_idx() 4) Load and decode metadata file header and index 4) Closing for VFD SWMR
* | Preliminary checkins for implementation done so far:Vailin Choi2018-08-141-0/+213
|/ | | | | | | | | | | | 1) Public routines: H5Pget/set_vfd_swmr_config 2) Public routine: H5Fvfd_swmr_end_tick 3) Initialization when opening a file with VFD SWMR writer 4) Tests in test/vfd_swmr.c for VFD SWMR 5) Fix a bug in src/H5Fint.c: when error is encountered after the root group is created Note the following: --This is WORK IN PROGRESS and will subject to change as implementation goes. --There is test failure form enc_dec_plist.c: I will fix this when changes to the property list are settled. --The branch is updated with the latest from develop as of 8/14/2018
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-10/+10
| | | | | | | | | 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
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-11/+11
| | | | | | | ~HDFTEST/hdf5_hft:hdf5_1_10 to develop" This reverts commit e9f476dad47ce593f13dacb77b1cc664d1f24e7b, reversing changes made to 2ff00b1b937ebe36ac6ddf590c16a4c27fc0b053.
* Merge pull request #943 in HDFFV/hdf5 from develop to hdf5_1_10Larry Knox2018-03-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9247388c3d14510341ea3f07847ce2cbb6e44a8e': Rework new tests into one macro Added a "won't fix" RELEASE.txt entry for HDFFV-10356. Fix CMake test names Fixed typo Add release note for HDFFFV-10397. Added a fix for HDFFV-10358. Fixed documentation Description: - Updated the description of copy constructor for clarification. - Removed unnecessary comments. Platforms tested: Linux/64 (jelly) Enhancement to the tool h5clear (HDFFV-10360) Fix for HDFFV-10209 VDS SWMR test failure Free the object header when there are chksum retries.
| * Enhancement to the tool h5clear (HDFFV-10360)Vailin Choi2018-03-121-0/+21
| |
| * HDDFV-10414 correct location of error changeAllen Byrne2018-03-071-91/+91
| |
| * HDFFV-10414 restore Ctl char - do we really need these anymoreAllen Byrne2018-03-051-89/+89
| |
| * HDFFV-10414 change minor error_numberAllen Byrne2018-03-051-101/+101
| |
| * Modifications made based on comments from pull request.Vailin Choi2018-02-071-18/+18
| |
| * Merge branch develop into bugfix/version_boundsVailin Choi2018-01-121-469/+470
| |\
| * \ Merge branch 'develop' into bugfix/version_boundsVailin Choi2017-12-081-15/+13
| |\ \ | | | | | | | | | | | | Merge from develop.
| * | | Initial checkin for library version boundsVailin Choi2017-10-031-33/+145
| | | | | | | | | | | | | | | | Code changes to provide versioning support when adding to the enumerated defines for H5F_libver_t.
* | | | Needs to sync with lib version and Sencode.M. Scot Breitenfeld2018-03-071-121/+234
| | | |
* | | | synced with developM. Scot Breitenfeld2018-01-051-469/+469
|\ \ \ \ | | |_|/ | |/| |
| * | | HDFFV-9724 Corrected files and verified testsAllen Byrne2017-12-281-469/+469
| | | |
| * | | Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to ↵lrknox2017-12-221-469/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | develop" This reverts commit b1223dd653e65e076af92b2dfe236f3704da81c8, reversing changes made to b25f123f5f5e25c1447a6a02861cb7c7265c12f2.
| * | | HDFFV-9724 Remove VDS file cache functionalityAllen Byrne2017-12-201-81/+0
| | | |
| * | | Fix VDS file cache var namesAllen Byrne2017-12-131-9/+9
| | | |
| * | | Added java wrappers and testsAllen Byrne2017-12-121-471/+483
| | | |
| * | | HDFFV-9724 Initial changes and testAllen Byrne2017-12-111-0/+69
| | |/ | |/|
* | | Merge branch 'develop' into hdf5_1_10M. Scot Breitenfeld2017-12-121-15/+13
|\ \ \ | |/ /
| * | Normalization with VOL integration branch.Dana Robinson2017-12-011-2/+2
| | |
| * | Normalization with VOL integration branch.Dana Robinson2017-11-301-13/+11
| |/
| * 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.
| * Fixed problems that prevent bin/trace from marking up some functions.Dana Robinson2017-04-211-13/+1
| |
| * The cache_image test shows a skipped message about EoC in parallel.Dana Robinson2017-04-201-1/+0
| |
| * Added code to disable the evict-on-close feature inDana Robinson2017-04-191-2/+19
| | | | | | | | the parallel library.
* | Fix for HDFFV-9947 H5SencodeVailin Choi2017-11-281-11/+11
| | | | | | | | Modifications to fix H5Sencode bug when num points selected is > 2^32.
* | Fixed problems that prevent bin/trace from marking up some functions.Dana Robinson2017-04-241-13/+1
| |
* | The cache_image test shows a skipped message about EoC in parallel.Dana Robinson2017-04-201-1/+0
| |
* | Added code to disable the evict-on-close feature inDana Robinson2017-04-201-2/+19
| | | | | | | | the parallel library.
* | Change copyright headers to replace url referring to file to be removedlrknox2017-04-141-6/+4
|/ | | | | | | | and replace it with new url for COPYING file. Fix 2 lines in java error test expected output file where messages include line numbers changed by reducing the copyright header by 2 lines.