summaryrefslogtreecommitdiffstats
path: root/src/H5Ctag.c
Commit message (Collapse)AuthorAgeFilesLines
* Move encode/decode macros to a new header (#3040)Dana Robinson2023-06-061-9/+9
| | | | | | | | | | | Moves the file-independent encode and decode macros to a new H5encode.h header that is itself included in H5private.h. Removes UINT64ENCODE_VARLEN and UINT64DECODE_VARLEN, which were unused. Fixes include statements in files where H5VMprivate.h and H5MMprivate.h were included via H5Fprivate.h.
* Convert H5F haddr_t macros to H5 (#3039)Dana Robinson2023-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | Several macros for handling haddr_t values exist in H5Fprivate.h and have H5F prefixes, even though they have nothing to do with a particular file (e.g., H5F_addr_lt()). These macros have been moved to H5private.h and renamed to have an H5 prefix. Affected macros: H5F_addr_overflow H5F_addr_defined H5F_addr_eq H5F_addr_ne H5F_addr_lt H5F_addr_le H5F_addr_gt H5F_addr_ge H5F_addr_cmp H5F_addr_overlap H5F_addr_pow2 was unused and removed instead of converted.
* Remove unnecessary fields from cache structs (#2951)Quincey Koziol2023-05-151-10/+0
| | | | | | | | | | | | * Remove unnecessary 'magic' field from cache structs Signed-off-by: Quincey Koziol <quincey@koziol.cc> * Committing clang-format changes --------- Signed-off-by: Quincey Koziol <quincey@koziol.cc> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Move functions into more focused source code modules (#2936)Quincey Koziol2023-05-121-21/+45
| | | | | | | | | | | | | | * Move functions into more focused source code modules, along with a small # of directly secondary effects. No actual changes to the contents of any moved routines. Signed-off-by: Quincey Koziol <quincey@koziol.cc> * Committing clang-format changes --------- Signed-off-by: Quincey Koziol <quincey@koziol.cc> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* [WIP] Add Developer build mode to CMake (#1659)jhendersonHDF2022-08-201-2/+2
| | | | | | | | | | | | | | | | * Add Developer build mode to CMake * Set a few CMake variables for Developer build modes * Refactor enabling of debug and developer-level compile definitions * Convert cache debugging macros to normal ifdef style Normal ifdef-style instead of if-style allows build system to define macros without warning about redefining macros with different values (0 vs. 1) * Add HDF5 Developer compile definitions to testing files * Temporarily disable -fanalyzer flag for GCC 12+ Developer builds
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-4/+4
| | | | | * Update format source to clang 13 * More format changes
* Switches the tagged metadata list from a skip list to a hash table (#1925)Dana Robinson2022-07-251-44/+41
|
* Removes the STATIC flavor of FUNC_ENTER macros (#1622)Dana Robinson2022-04-081-5/+5
| | | | | * Removes the STATIC flavor of FUNC_ENTER macros
* Update license url (#332)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - src and test directories.
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-1/+1
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Clang-format of source filesAllen Byrne2020-09-301-146/+123
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-36/+36
|
* Modification based on feedback from pull request.Vailin Choi2019-02-061-1/+1
|
* There is performance issue when closing an object. The slow down is due to ↵Vailin Choi2019-02-051-0/+26
| | | | | | | | | | the search of the "tag_list" to find out the "corked" status of an object. The fix: (1) Add a counter "num_objs_corked" in the cache structure to track the number of "corked" objects. (2) Skip the search of "tag_list" if the counter is zero i.e. no "corked" objects.
* Normalization with vol_integration (misc internal and datatype)Dana Robinson2018-09-201-1/+1
|
* Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-26/+16
|
* 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.
* Omnibus checkin for several relatively minor modifications:mainzer2017-03-281-5/+42
| | | | | | | | | | | | | | | | | | | | 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.
* Minor cleanups and bring over "prefetched dirty" fixes for entries loaded fromQuincey Koziol2017-03-121-1/+1
| | | | a cache image.
* Updated the H5FS cache code to grab the correct tag and modifiedDana Robinson2016-12-081-0/+31
| | | | | | | | the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
* Merge branch 'develop' into eoc_h5fs_fixDana Robinson2016-12-071-2/+4
|\
| * Bring SWMR support in to the main development branch. (Finally!) More testsQuincey Koziol2016-12-021-2/+4
| | | | | | | | and the tool and API wrappers will be coming in over the weekend.
* | First cut at fixing the tagging issue with the free space managers.Dana Robinson2016-11-301-9/+2
|/ | | | | | | | | * Converted the tag macros to regular ones so the parent's tag is used via the dxpl. * Updated the tag sanity check logic so for free space managers. * Turned new-style group checks back on in test/evict_on_close.c
* Remove "collective write list" parameter from H5C__flush_single_entry() as itQuincey Koziol2016-11-281-1/+1
| | | | | is only used in a couple of places. The collective write list has been moved to be internal to the cache data structure instead.
* Two minor cache changes:Dana Robinson2016-11-201-2/+3
| | | | | | | | | | | | * Evict-on-close behavior is now skipped when the file is closing. This fixes a potential issue discovered by Valgind on Windows where potentially garbage data would be availble for manipulation. * Added brackets to some code in the tagged entry evict iterators so that the flag that determines if progress was made only gets set if things are actually evicted. This prevents an infinite loop (and emits an error) when pinned entries prevent eviction and thus progress.
* Clean up cache code to eliminate dead-ends and unify code.Quincey Koziol2016-11-101-1/+1
|
* Switch to new, more scalable, metadata cache entry tagging.Quincey Koziol2016-11-071-153/+186
|
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-061-15/+14
|
* Cleaned up feature for dissemination to LLNL:Dana Robinson2016-09-191-6/+6
| | | | | | | - Removed support for datatypes. - Commented out support for groups - General change clean-up - Added a list of improvements to BRANCH.txt
* [svn-r30104] Fixes evict-on-close feature by propagating globalDana Robinson2016-06-241-3/+3
| | | | | flush flag up the function call stack and not setting it during H5Dclose().
* [svn-r30075] Description:Quincey Koziol2016-06-141-0/+111
| | | | | | | | | | Bring object/dataset/group/named datatype features from revise_chunks branch to trunk. Also CMake support for h5format_convert and a bunch of misc. cleanups. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30068] Description:Quincey Koziol2016-06-131-7/+77
| | | | | | | | Bring metadata cache corking to trunk. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30053] Description:Quincey Koziol2016-06-081-66/+214
| | | | | | | | | Create iterator routine for tagged entries and refactor current routines to use it. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30035] Description:Quincey Koziol2016-06-061-0/+484
Extract tagging routines into separate source module. Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)