Network

 
AuthorCommitMessageCommit Date
David YoungDavid Young
0f32728f728By default, demote warnings promoted to errors back to warnings.
David YoungDavid Young
626c60dec4cIncorporate the H5_ECFLAGS into the library CFLAGS. Now a bunch of errors will occur. Next commit will demote the warnings promoted to errors back to warnings again.
David YoungDavid Young
d8e5995f6d1Break out warnings into more files that autoconf and CMake can share. This change temporarily disables the warnings that were promoted to errors, but I will add those warnings back as warnings, not errors, in the next commit.
Allen ByrneAllen Byrne
13da6d137faAllow use of INTEL icl/icl++ for clang
David YoungDavid Young
181818fd11aMMerge remote-tracking branch 'hdffv/develop' into mar-merge-develop-to-swmr-final
Allen ByrneAllen Byrne
26fecb8c5a4MMerge pull request #2457 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop * commit '6be711bbd2b86de5bcd8f092d8f27d6b2251c111': Fix threadsafe for new test
Allen ByrneAllen Byrne
6be711bbd2bFix threadsafe for new test
Dana RobinsonDana Robinson
eecddd9f3e8MMerge pull request #2456 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop * commit 'ce7936d2b256bdd5e61a5ef018f35e9562667cac': Fixed the RELEASE.txt note for HDFFV-11057 Fix shutdown errors when using the HDF5_VOL_CONNECTOR environment variable to set a dynamically loaded plugin as the default VOL connector. Fixes HDFFV-11057 Very minor comment change in H5VLconnector.h.
Dana RobinsonDana Robinson
ce7936d2b25Fixed the RELEASE.txt note for HDFFV-11057
Dana RobinsonDana Robinson
693008ecaffFix shutdown errors when using the HDF5_VOL_CONNECTOR environment variable to set a dynamically loaded plugin as the default VOL connector. Fixes HDFFV-11057
Dana RobinsonDana Robinson
f0a687f133cMMerge branch 'develop' into develop_minor
Dana RobinsonDana Robinson
3d29cbb27fdVery minor comment change in H5VLconnector.h.
David YoungDavid Young
e850b0642cfUse the correct error macro.
David YoungDavid Young
a47fe8da21aMMerge remote-tracking branch 'hdffv/develop' into mar-merge-develop-to-swmr-final
Vailin ChoiVailin Choi
9c93c1bb00dMMerge pull request #2451 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/develop_seg_fault_sel_compat to develop * commit '81b1ed4e1724b8a6a731ab2b8fb03234a8b49d15': Fix issues when deserializing point/all/none selection with version beyond the library's supported version: (1) Verify the decoded version before proceeding further with deserialization (2) Close the dataspace if errors occurred after opening the dataspace
Vailin ChoiVailin Choi
81b1ed4e172Fix issues when deserializing point/all/none selection with version beyond the library's supported version: (1) Verify the decoded version before proceeding further with deserialization (2) Close the dataspace if errors occurred after opening the dataspace
Vailin ChoiVailin Choi
a24b0c4a848MMerge pull request #26 in ~VCHOI/my_third_fork from develop to bugfix/develop_seg_fault_sel_compat * commit '9abbdeaa66c70a00b6a7bedee9c76d2493a8e947': (31 commits) Remove system command from valgrind reports Whitespace Fix incorrect FUNC_LEAVE macro (should match FUNC_ENTER_*_TAG). Add semicolons to more PASSED() invocations. So that I can use PASSED(); anywhere a statement can go, #define PASSED() with a do-while wrapper. revert type cast Switch the 'get offset' operation fro...
David YoungDavid Young
7613f7e1aa8MMerge pull request #2378 in HDFFV/hdf5 from ~DYOUNG/werror:dont-crash-on-close to develop * commit '093c2c7e69bc4a40e9d49eece1d6fdcf54e8ecb0': Avoid a crash, don't check if we're flushing when the file is closing: there's no need to check if the metadata cache is flushing if we already know the file is closing, because the condition we rely on is "closing OR flushing." Further, the cache may have already gone away, so sometimes calling into the cache to see if it's flushing will crash the...
David YoungDavid Young
093c2c7e69bAvoid a crash, don't check if we're flushing when the file is closing: there's no need to check if the metadata cache is flushing if we already know the file is closing, because the condition we rely on is "closing OR flushing." Further, the cache may have already gone away, so sometimes calling into the cache to see if it's flushing will crash the program.
David YoungDavid Young
a8cca5b8746Use more iterations on the variable-length string reader & writer to lower the possibility of a false test failure.
David YoungDavid Young
9a8a836e0bdIn H5PB__write_meta(), extend a single-page entry when overwriting it with multiple pages. Update statistics to maintain consistency. Refactor a bit: in H5PB__write_meta(), move code that's in both the if- and else- branch to either before the if-else or after and de-duplicate. In H5PB_vfd_swmr__update_index(), always update the length of a shadow-index entry to the current size of its corresponding page-table entry. In H5PB_vfd_swmr__update_index(), disregard shadow-index entries that aw...
David YoungDavid Young
37254230ef7Join some lines. NFCI.
David YoungDavid Young
a2476dbef58Test H5Dread() for the right "success" conditions. I'm not sure how this even appeared to work, before.
David YoungDavid Young
5ed621f8f3bFix spelling, alread -> already. NFCI.
David YoungDavid Young
8cccc77ae50Add tests for the two expected failure modes for variable-length (VL) strings in VFD SWMR mode.
David YoungDavid Young
5fcecabe120Add disable_estack() and restore_estack() for disabling the current error-stack handling and restoring the previous error-stack handling.
David YoungDavid Young
2254b14c4a0Mention the problems VFD SWMR has with variable-length data.
David YoungDavid Young
c77cd811644Update Guide. Switch to a short and informative function name.
David YoungDavid Young
24855209773Add my work in progress on variable-length string test for VFD SWMR.
David YoungDavid Young
83526f48a6fStart a user's guide. Mention problems with variable-length data.
David YoungDavid Young
53223d86234Stop changing the type of global-heap storage to raw data before accessing the page buffer. Now variable-length (VL) data such as VL strings work with VFD SWMR. This change also makes the library more consistent in its treatment of global-heap storage, since it's always been allocated as metadata, not raw data.
David YoungDavid Young
04541caa1a4In await_signal(), print a less alarming message when exiting in normal circumstances. Write a comment that tells why await_signal() periodically calls the HDF5 API.
David YoungDavid Young
4cb25e6370eDon't assert that an H5FD_mem_t read/written through the page buffer is not H5FD_MEM_GHEAP, that's an out-of-date assumption.
David YoungDavid Young
d8286ea7254Instead of duplicating H5F_shared_block_write() and _read() wholesale in H5F_block_write() and _read(), make the latter functions call the former.
David YoungDavid Young
619e601748eBreak metadata reads and writes into up to three pieces, the non-page-aligned piece in the beginning, 1 or more full pages, and whatever is leftover at the end. Passes all of our tests.
David YoungDavid Young
2a4848d7f50Add an environment variable, H5_SHADOW_INDEX_FAIL, that I can set to an unsigned integer value that tells at which index to inject a failure for testing purposes. I used this to establish that I can start the shadow-index lookup test with a previous seed and see the same tests run again.
David YoungDavid Young
1dec40514f9Add a test for shadow-index lookups per the specification agreed with John and Mike and described in my email "testing estimates version 2."
David YoungDavid Young
3f25e5cabd5So that I can use PASSED(); anywhere a statement can go, #define PASSED() with a do-while wrapper.
David YoungDavid Young
75d016e71bfNo, Robb Matzke did *not* write this file. Get to the point in a copy-and-pasted comment.
David YoungDavid Young
45284539d11Move the `swmr` log-outlet declaration to H5FDvfd_swmr_private.h and use `swmr` as the parent outlet of a new outlet for messages about the motion of the shadow index.
David YoungDavid Young
6a8c4993c32Shave 44 lines off of H5PB_read() by gathering a bunch of checks into one if condition, reducing diagnostic checks, single-spacing, etc.
David YoungDavid Young
be4a39eb838Don't re-test a condition that's assert()'d at function entry and couldn't change in the mean time, but do be paranoid and re-assert.
David YoungDavid Young
94617d4e8a4On the reader, zero the shadow-index entries before filling fields from the shadow file so that members like `garbage` are not filled with garbage that fools us, later.
David YoungDavid Young
d022d941c11Update some comments.
David YoungDavid Young
8cd55ed54adWhere n is the number of page-table/shadow-index entries, avoid spending O(n^2) time in H5PB_dest(). While we're in H5PB_dest(), mark deleted shadow-index entries as "garbage" and skip the O(n) shadow index-entries copy. Rename shadow index-entry member `moved_to_hdf5_file` to `moved_to_lower_file` while I'm in here---NFCI.
David YoungDavid Young
f20d9f8ee12Pass the right parameter, H5F_shared_t * not H5F_t *. (Grr, serious warnings not treated as errors....)
David YoungDavid Young
6c1c2cd4bb0Add log outlets `h5mf` and `h5mf_defer` and write some diagnostic messages to them. Move and update a comment about removing (all) items from the deferred queue before processing them. Bug fix: don't leak file space, add back to the deferred queue all items that were not disposed of.
David YoungDavid Young
514724371afMove all frequently-read fields---ls_resolved, ls_state, ls_parent---to the top of hlog_outlet_t so that they're likely to be in the same cacheline.
David YoungDavid Young
1ccf24a0882For bool, true, and false, #include <stdbool.h>.
David YoungDavid Young
e5bc8bd4b72Change a couple more occurrences of "sink" to "outlet."