Updated the file space manger code in the Java wrappers
to match the API changes.
Note that there are still problems with the Java wrappers due
to MDC logging calls that have issues.
Merge pull request #252 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:page_buffering to page_buffering
* commit 'd66696864716a00ca20b14200a516560670b74f7':
Take care of two .h5 files created by "make check" were not removed by make clean or distclean.
tools/test/h5diff/testh5diff.sh.in: Add code to delete copies of test .h5 files copied from tools/testfiles/vds to tools/test/h5diff/testfiles when running "make check" for an in-source build.
Description: Added data ...
Take care of two .h5 files created by "make check" were not removed by make clean or
distclean.
test/Makefile.am:
Add file tbogus.h5.copy to CHECK_CLEANFILES list.
test/tfile.c
The last test with tfilespace.h5 was missing the call at the end to
h5_clean_files().
merge in prep for checkin to main page buffering branch
Merge branch 'page_buffering' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into page_buffering
Added code to resolve remaining corner cases in integration of
cache image with file shutdown fix as modified for paged allocation.
Added test to verify correctness of fix for H5MF_get_free_sections()
case.
Used the same fix for H5MF_try_close(), but did not write test code
for it. It may be appropriate to do this at some point in the
future.
Tested on Jelly serial debug and production, and parallel debug.
tools/test/h5diff/testh5diff.sh.in:
Add code to delete copies of test .h5 files copied from
tools/testfiles/vds to tools/test/h5diff/testfiles when running
"make check" for an in-source build.
tools/test/misc/testh5repart.sh.in:
Change the name of the temporary test directory from "testfiles"
which is also used for 2 h5mkgrp test files under source control to
"testrepart" to avoid deleting source controlled files when running
...
Merge pull request #249 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:page_buffering to page_buffering
* commit '3a0053ffadded701d907f27651fb7554701d9354':
Fix for the test_filespace_round_compatible() in tfile.c. 1) Pass H5O_MSG_FLAG_MARK_IF_UNKNOWN when creating file space info message 2) Regenerate the test files via gen_filespace.c, open/modify the test files in 1.8 and then move back to this branch for testing. Tested on moohan, kituo, osx1010test, platypus, ostrich, kite, quail, and mayll.
Fix for the test_filespace_round_compatible() in tfile.c.
1) Pass H5O_MSG_FLAG_MARK_IF_UNKNOWN when creating file space info message
2) Regenerate the test files via gen_filespace.c, open/modify the test files in 1.8 and then move back to this branch for testing.
Tested on moohan, kituo, osx1010test, platypus, ostrich, kite, quail, and mayll.
Merge pull request #246 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:page_buffering to page_buffering
* commit 'e93e562a845953a986798a6809558a2bf05d3144':
Create h5repack convenience library for common code used by h5repack tool and h5repacktst. Fixes broken distclean.
h5format_convert was not built (missing from subdirs in tools/src and tools/test Makefile.ams) but created dependencies that were not cleaned up by make clean and make distclean.
Create h5repack convenience library for common code used by h5repack
tool and h5repacktst. Fixes broken distclean.
Tested with h5committest and "make distclean".
h5format_convert was not built (missing from subdirs in tools/src and
tools/test Makefile.ams) but created dependencies that were not
cleaned up by make clean and make distclean.
Merge pull request #244 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:page_buffering to page_buffering
* commit 'a5b0bb767c8172322882b02e8f673fc511af478d':
Fix for the h5stat test failures Re-generate the test file "h5stat-newgrat.h5" and modify the expected output file. Run h5stat tests on mayll, osx1010test, emu, and quail.
Fix for the h5stat test failures
Re-generate the test file "h5stat-newgrat.h5" and modify the expected output file.
Run h5stat tests on mayll, osx1010test, emu, and quail.
Added text to the function check macros so that a more helpful
error message is emitted when there is a problem.
(cherry picked from commit 441c8ea43ab6a6559d1f167bdfbbaf3720621804)
Purpose: Improvement for HDFFV-10004
Description:
When adding wrappers for H5Lexists, a new class, LinkAccPropList, was
added to the C++ API, triggered complicated circular dependencies. Thus,
some improvement was made to resolve the problems.
- Replaced existing functions openXxxType with individual type constructors
+ Added individual XxxType constructors to replace the existing functions
openXxxType because it's rather awkward to use these functions.
+ ...
AM_MAINTAINER_MODE should be set to "disable" for releases. Check to
see if it's enabled, and if it is, call switch_maint_mode -disable
before creating release files, then set it back to enable afterward.
(cherry picked from commit a659d6ed5aaf658f08da621c0dee078e894cc9d3)
Partial merge of the evict-on-close new-style groups fixes.
This is best done manually since the code has changed so much in this
branch. This changeset updates the tagging macros in H5MF and H5FS.
The cache_tagging test was updated to reflect the new, correct
tagging and the evict_on_close test now tests new-style groups.
Partial merge of the evict-on-close new-style groups fixes.
This is best done manually since the code has changed so much in this
branch. In this changeset, the freespace test has been updated
to explicitly tag free space manager calls.
Partial merge of the evict-on-close new-style groups fixes.
This is best done manually since the code has changed so much in this
branch. In this changeset, the H5AC/C_get_tag() functions have been
added and the cache_tagging test has been updated to use the
H5AC_dump_cache() call.
Checkin of merge of cache image feature into page buffering and
integration of cache image into file shutdown mods as adapted to
paged allocation.
This checkin has a number of issues:
1) test_filespace_round_compatible() in tfile.c fails. This failure
appears to be the result of the file format change for the free space
manager SBE message. The issues appears to have been exposed by
the addition of cache image and its SBE message.
The test is commented out pending resolution ...
Merge remote-tracking branch 'hdf5_der/page_buffering_partial' into page_buffering
Brings develop changesets (up to the SWMR merge) into page_buffering.
Modifications to paged aggregation:
(1) Fail file create when page buffering is enabled for parallel
(2) Fail file create for multi/split drivers when paged aggregation strategy is used or persisting free-space
(3) Define a minimum size of 512 for file space page size
(4) Fixes to src/H5MF.c and tidy up unused coding
(5) Changes to test directory:
--cache.c, cache_api.c, dsets.c, 1 test in fheap.c are modified to test with paged aggregation enabled
--Fixes to mf.c, tfile.c, stab.c, ca...
Fixed typos in H5MF_try_close(), and failure to handle the
file open followed immediately by file close case.
Also hooked up sanity checks directed at detecting modifications
to free space managers after they have been settled on file close.
Assertion failure in test/mf remains (disabled).
(cherry picked from commit 7ff7734b2eb988c00ebdbd7d396d4525f317c1e3)
Checkin of merge of file shutdown modifications into the
page buffering merge branch.
The failing mf tests have been disabled until they pass.
(cherry-pick of 45965ba8957508f936791544ecdfddd2a676edbf)
Normalize the page_buffering branch with cache_image to reduce
conflicts when they are brought together. Affects the build files
and C library only.
Almost entirely whitespace and other minor non-code changes.
Brought another batch of changes over from develop:
+ 5922bbb45f03b0e84c3aef7e1ed1010273caa7e2 Minor normalization cleanups.
+ 65be68a17d1e5bec7e51e5f3e2e03d22163f7817 Add some Java methods that were missed earlier.
+ b990f5b2f7a2c0bb1e7e09aef45ffd592fc5d0ec Change where test copies libs because of osx1011 SIP
+ 7a5eea36a59ff48ad4e4c59f2378d6b5cce39dae Add missing character
+ 53d3a619f8a076cb1d0ba9cbc207fc07a6fcc5d8 Change examples to match junit test
+ 0c5f56a865725f1e5aaf14704ebcb0704e07bb...
Bring over another batch (hopefully the last) of non-SWMR "normalization"
changes from the revise_chunks branch.
(cherry picked from commit b092dbcdfdfc7477596ae49f816f18e0dadf0fb1)
Brought in more commits from develop:
+ ea4d18c3d9c3b6c77030abdf2f0509bc68224559 Remove unnecessary assert.
+ 460b573a73e1cfa73ad16dc7fff286fd561ff735 Eliminate unnecessary data structure for parallel collective metadata cache I/O
+ 2cb2d5a533c2de7503014da3250c3088e1ba089d Remove "collective write list" parameter from H5C__flush_single_entry() as it is only used in a couple of places. The collective write list has been moved to be internal to the cache data structure instead.
Add a flag for H5C__flush_single_entry() to allow the parallel code to request
that images for entries be generated, even when not writing the entry from an
MPI rank.
(cherry picked from commit 1071d8bf73bc9f069b9d939d882aa27e2334f94a)
Bring over support for retrying metadata cache entry loads, along with all the
supporting metadata cache callback changes, etc.
(cherry picked from commit 3b0c2b24da5689990c4bc0fcd3afecdf063086c8)
Remove explicit support within the metadata cache for tracked compressed
entries, they are now completely handled in the clients.
(cherry picked from commit be27e1ad79dfa0507f589b29d938b7e1020a5b2d)
Tentative fix for valgrind issues related to EoC.
Adds /*out*/ parameters to H5O_close() and H5F_try_close() so
that H5D/G_close() will know when H5O_close() has triggered a
file close and thus the file struct is not reliable.
Also removes the H5F_CLOSING() macro and related which were
formerly used to check if the file was closing.
(cherry picked from commit a8d1aff23568c0f64fa16cfbb37d7741bb922a60)
Pulled cache dump changes from develop:
+ 1a0de8ebd8f82f41b0fa0cb3d172c85a3a24bc3a Updated the format of H5AC/C_dump_cache() to include more information and be easier to read.
+ 7a8c7c6063e328fdac28aa3f77ead4bdc91860e5 Updated the cache dump to use the stored type name instead of the (redundant) array of names I previously created.
(cherry picked from commit 7a8c7c6063e328fdac28aa3f77ead4bdc91860e5)
Remove 'clear' callback from metadata cache client interface, using the
new 'entry cleaned' notify action innstead.
(cherry picked from commit eba0ff43c968ef9a0b09edf19c1e337cfcae0816)
Bring over new 'notify' metadata cache client callback actions for when an
entry is cleaned / dirtied or its [flush dependency] child entry is cleaned /
dirtied.
(cherry picked from commit d4591ff54d9319346f49a3bc67431f0fa26a8d65)