summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
Commit message (Collapse)AuthorAgeFilesLines
* VFD SWMR: Normalization with develop (#1078)Dana Robinson2021-10-061-2/+0
| | | Brings many changes from develop, particularly VOL changes for async
* VFD SWMR: Removes dedup callback + cleanup (#842)Dana Robinson2021-07-171-1/+0
| | | | | | | | | | | * HDF5-ification of dedup calls * Removes dedup callback from VFD struct * VFD SWMR library code cleanup * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Brings much of the printf changes over from developDana Robinson2021-05-061-28/+36
|
* Brings native H5Fdelete implementation from developDana Robinson2021-05-051-0/+27
|
* Normalization with develop (mainly VFDs)Dana Robinson2021-05-051-233/+241
|
* Fixed 1.6 compatibility issues and ran source formatterDana Robinson2021-03-261-6/+6
|
* Brings file locking changes from developDana Robinson2021-03-251-19/+47
|
* Updates license url and history docsDana Robinson2021-03-251-1/+1
|
* Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-483/+505
|
* Merge branch 'aug-develop' into aug-merge-attempt/feature/vfd_swmrDavid Young2020-08-041-239/+197
|\
| * Clean up warningsQuincey Koziol2020-06-281-2/+6
| |
| * Merge remote-tracking branch 'origin/develop' into monotonic_timerQuincey Koziol2020-06-261-25/+53
| |\
| | * Trim trailing whitespaceQuincey Koziol2020-04-201-4/+4
| | |
| | * Fixed bugs in pread/pwrite I/O in VFDs.Dana Robinson2019-12-091-4/+6
| | | | | | | | | | | | Fixes HDFFV-10945.
| | * Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-2/+2
| | | | | | | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
| | * To quiet a warning, initialize some `struct timeval`s that the compilerDavid Young2019-11-131-2/+2
| | | | | | | | | | | | does not realize are always set before use by `gettimeofday`.
| | * Cleaned up misc warnings.Dana Robinson2019-06-291-3/+9
| | |
| | * Added an H5MM_memcpy call that checks for buffer overlap.Dana Robinson2019-03-161-1/+1
| | |
| | * Updated sec2, log, and core VFDs to use pread/pwrite whenDana Robinson2019-01-311-6/+24
| | | | | | | | | | | | available (can be controlled via a configure/CMake option)
| | * Merge branch 'develop' into vfd_init_cleanupDana Robinson2019-01-011-0/+2
| | |\
| | | * Clear driver properties before returning them to application.Quincey Koziol2018-12-191-0/+2
| | | | | | | | | | | | | | | | | | | | Move write_tracking and page_size properties to be inside the core VFD's driver properties.
| | * | Cleaned up and normalized VFD init calls.Dana Robinson2018-12-181-3/+3
| | |/
| | * Renamed h5repart's -family_to_sec2 to -family_to_single.Dana Robinson2018-11-141-8/+8
| | |
| * | Changes to make timers within the library monotonic.Quincey Koziol2017-09-031-239/+193
| |/
* | Change H5F_open to perform deduplication of open VFDs in a more flexible way,David Young2020-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using the new routine H5FDdeduplicate(). Simplify H5F_open() a bit, pushing some of the configuration checks into the SMWR VFD. For example, check that page buffering is enabled in H5FD_vfd_swmr_open() instead of in H5F_open(). Compare VFD SWMR configurations in H5FD_vfd_swmr_dedup() instead of in H5F_open(). Clone the default file-access property list at a new file-access property list ID, H5P_FILE_ACCESS_ANY_VFD. The new ID is used to indicate that if the file that's being opened is already open under an existing virtual file, and if that virtual file would not ordinarily be opened with the default FAPL, then it's ok to use that virtual file. Add a new optional method, `dedup`, to H5FD_class_t, and use it to customize a VFD's deduplication. Customize the SWMR VFD's deduplication. Make it honor H5P_FILE_ACCESS_ANY_VFD Embed the VFD SWMR configuration in the H5FD_vfd_swmr_t to facilitate comparison of configuration between new and old SWMR virtual files. In H5F__sfile_search(), match using a pointer comparison instead of H5FD_cmp(), because we will only ever enter H5F__sfile_search() with a deduplicated H5FD_t *.
* | Trim trailing whitespaceQuincey Koziol2020-05-201-4/+4
| |
* | Fixed bugs in pread/pwrite I/O in VFDs.Dana Robinson2020-05-201-4/+6
| | | | | | | | Fixes HDFFV-10945.
* | Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2020-05-201-2/+2
| | | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
* | To quiet a warning, initialize some `struct timeval`s that the compilerDavid Young2020-05-201-2/+2
| | | | | | | | does not realize are always set before use by `gettimeofday`.
* | Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-21/+47
|/ | | | | | | | 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!
* Merge branch 'develop' into windows_openDana Robinson2017-05-311-1/+2
|\
| * Fixed HDFFV-10214:Dana Robinson2017-05-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Updated comments in the library to accurately reflect the semantics of the H5FD_FEAT_POSIX_COMPAT_HANDLE flag. * Removed the check for the POSIX compatible handle feature flag when determining if a VFD supports SWMR. Partial work for HDFFV-10197: * Added a new H5FD_FEAT_DEFAULT_VFD_COMPATIBLE feature flag that is set when a VFD creates output that is compatible with the default VFD. Will be used in the testing but might also be generally useful to users.
* | Rework of the POSIX file open permissions and macros to clean upDana Robinson2017-04-281-1/+1
| | | | | | | | | | | | HDopen() calls. Also fixed a minor const warning in the core VFD.
* | Changed the Windows POSIX open() file permissions to be correctDana Robinson2017-04-281-1/+1
|/ | | | according to MSDN. Partial fix for HDFFV-9630.
* 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.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-7/+1
|
* Bring SWMR support in to the main development branch. (Finally!) More testsQuincey Koziol2016-12-021-0/+1
| | | | and the tool and API wrappers will be coming in over the weekend.
* Bring over another batch (hopefully the last) of non-SWMR "normalization"Quincey Koziol2016-11-291-21/+29
| | | | changes from the revise_chunks branch.
* Moved Win32 variables to top of function in H5FDlog.c.derobins2016-11-111-8/+9
|
* Improvements to the log VFD, for helping with SWMR debugging.Quincey Koziol2016-11-031-7/+111
|
* [svn-r29842] Description:Quincey Koziol2016-04-301-3/+3
| | | | | | | | | Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from revise_chunks branch to the trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r28802] Description:Quincey Koziol2016-01-051-3/+3
| | | | | | | Correct another H5MM_free => H5MM_xfree Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel
* [svn-r28797] Description:Quincey Koziol2016-01-051-8/+6
| | | | | | | | Clean up another round of memory allocation mis-matches. Tested on: Linux/32 2.6.x (jam) w/serial MacOSX/64 10.11.2 (amazon) w/serial & parallel
* [svn-r28626] Brought VFD-level file locking code over from revise_chunks.Dana Robinson2015-12-141-7/+74
| | | | | | | Tested on: Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only (these changes have been in revise_chunks for a long time)
* [svn-r27811] Description:Quincey Koziol2015-09-161-2/+2
| | | | | | | | | | | Refactor property list code to "deep copy" properties in the correct way, retraining the rest of the library to copy & release things correctly. This cleans up another batch of memory leaks, etc. within the library. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel (h5committest forthcoming)
* [svn-r27768] Description:Quincey Koziol2015-09-141-11/+10
| | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-241-23/+1
| | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-7/+7
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r27045] Renamed H5_ASSIGN_OVERFLOW() to H5_CHECKED_ASSIGN() and re-orderedDana Robinson2015-05-101-1/+1
| | | | | | the arguments to be in a more logical order. Tested on: h5committest
* [svn-r26002] move checks on reading/writing beyond file eoa outside of the ↵Mohamad Chaarawi2015-01-221-4/+0
| | | | | | file drivers and into a centralized place in H5FD_read/write. tested h5committest.