Commit Graph

16096 Commits

Author SHA1 Message Date
Allen Byrne
53d3a619f8 Change examples to match junit test 2016-12-01 15:59:03 -06:00
Allen Byrne
7a5eea36a5 Add missing character 2016-12-01 15:34:25 -06:00
Allen Byrne
b990f5b2f7 Change where test copies libs because of osx1011 SIP 2016-12-01 15:12:33 -06:00
Quincey Koziol
5d7d029b97 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_swmr_merge 2016-12-01 01:41:13 -08:00
Quincey Koziol
65be68a17d Add some Java methods that were missed earlier. 2016-11-30 15:12:35 -08:00
Quincey Koziol
5922bbb45f Minor normalization cleanups. 2016-11-30 14:41:31 -08:00
Dana Robinson
f3dfc133cc Changed the name of H5MF_alloc_close() to H5MF__alloc_close()
to make the FUNC_ENTER macro happy.
2016-11-30 03:51:28 -05:00
Dana Robinson
3186fd93dc Reverted the freespace test. The TAG macros in H5MF_get_freespace()
make the changes unnecessary.
2016-11-30 03:26:34 -05:00
Dana Robinson
1093e7a1f7 Added missing TAG macros to H5MF_get_freespace(). 2016-11-30 03:25:09 -05:00
Dana Robinson
6744963c61 Updated the freespace test so functions take a common, tagged
dxpl so the test will work with the new H5FS tag changes.
2016-11-30 02:38:34 -05:00
Dana Robinson
916eaa4ab8 Updated the cache_tagging test so it correctly analyzes
the new fractal heap free space manager behavior.

Also converted the debug output of the cache_tagging
test to use the revised H5AC_dump_cache() function.
2016-11-30 02:20:09 -05:00
Dana Robinson
f4a74462f2 Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG
gets set on the dxpl correctly. Also restored the TAG macro
to H5FS__cache_hdr_pre_serialize() since otherwise the tag
won't be initialized.
2016-11-30 01:37:52 -05:00
Dana Robinson
a046ac31d2 First cut at fixing the tagging issue with the free space managers.
* 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
2016-11-29 23:53:52 -05:00
Dana Robinson
63bcd73f1f Merge pull request #179 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Fix for some evict-on-close issues revealed by Valgrind.

* commit 'd3dbe9d90ee71b231b3264e1d62d3efbae3242ef':
  Tentative fix for valgrind issues related to EoC.
2016-11-29 20:22:47 -06:00
Dana Robinson
d3dbe9d90e Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-29 15:06:37 -05:00
Dana Robinson
28fdd9e963 Merge pull request #178 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:expanded_eoc_test to develop
Updated the evict-on-close test to better exercise groups.

* commit '30bd7247d80f08aee4fc7038df86c43258344de8':
  Updated the evict-on-close test to create a large number of subgroups in a containing group. This will ensure that many cache entries will be used, making a better test of EoC functionality.
2016-11-29 13:36:08 -06:00
Dana Robinson
30bd7247d8 Merge branch 'develop' into expanded_eoc_test 2016-11-29 12:52:46 -05:00
Quincey Koziol
3d2beeec1f Merge pull request #177 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_10 to develop
* commit 'b092dbcdfdfc7477596ae49f816f18e0dadf0fb1':
  Bring over another batch (hopefully the last) of non-SWMR "normalization" changes from the revise_chunks branch.
2016-11-29 02:41:01 -06:00
Quincey Koziol
b092dbcdfd Bring over another batch (hopefully the last) of non-SWMR "normalization"
changes from the revise_chunks branch.
2016-11-28 16:34:36 -08:00
Dana Robinson
8fd8115715 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:33:08 -05:00
Dana Robinson
a6ab26c74b Merge pull request #175 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:new_H5AC_dump_cache to develop
Updated H5AC_dump_cache() to emit more information.

* commit '7a8c7c6063e328fdac28aa3f77ead4bdc91860e5':
  Updated the cache dump to use the stored type name instead of the (redundant) array of names I previously created.
  Updated the format of H5AC/C_dump_cache() to include more information and be easier to read.
2016-11-28 12:19:23 -06:00
Dana Robinson
978e83fb5b Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:01:10 -05:00
Dana Robinson
7a8c7c6063 Updated the cache dump to use the stored type name instead
of the (redundant) array of names I previously created.
2016-11-28 12:47:59 -05:00
Quincey Koziol
1921f7f4ad Merge pull request #176 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '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.
  Eliminate unnecessary data structure for parallel collective metadata cache I/O
2016-11-28 10:30:46 -06:00
Dana Robinson
4ddc4a602f Merge pull request #171 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fix for tfile.c valgrind issues.

* commit '191cc19ae0a2feb72d2171a0808fdc71a3b862dd':
  Added vlen reclaim functions to a test in tfile.c that leaks memory.
2016-11-28 09:37:23 -06:00
Dana Robinson
4ab127aa9c Merge pull request #173 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:gitignore to develop
Updated .gitignore to be more manageable and future-proof.

* commit '1aa2373b2e1a651bec507dcb14a89b51815a972c':
  Simplified .gitignore by using patterns.
  Added src/H5config.h.in~ to .gitignore.
2016-11-28 07:44:15 -06:00
Quincey Koziol
2cb2d5a533 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.
2016-11-28 01:26:33 -06:00
Dana Robinson
d79c73320e Updated the evict-on-close test to create a large number of subgroups
in a containing group. This will ensure that many cache entries will
be used, making a better test of EoC functionality.
2016-11-27 23:42:08 -05:00
Dana Robinson
1a0de8ebd8 Updated the format of H5AC/C_dump_cache() to include
more information and be easier to read.
2016-11-27 20:50:13 -05:00
Quincey Koziol
460b573a73 Eliminate unnecessary data structure for parallel collective metadata cache I/O 2016-11-27 19:00:12 -06:00
Dana Robinson
1aa2373b2e Simplified .gitignore by using patterns. 2016-11-27 16:05:03 -05:00
Dana Robinson
2c3d02e6e5 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-26 13:11:08 -05:00
Dana Robinson
a8d1aff235 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.
2016-11-26 10:47:32 -05:00
Dana Robinson
c9bbc2f1cc Added src/H5config.h.in~ to .gitignore. 2016-11-25 21:09:45 -05:00
Quincey Koziol
61e0a035bc Merge pull request #172 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'ea4d18c3d9c3b6c77030abdf2f0509bc68224559':
  Remove unnecessary assert.
  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.
2016-11-25 19:47:25 -06:00
Quincey Koziol
ea4d18c3d9 Remove unnecessary assert. 2016-11-25 17:18:52 -06:00
Quincey Koziol
98e9194d4f Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop 2016-11-25 16:08:34 -06:00
Quincey Koziol
1071d8bf73 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.
2016-11-25 16:07:23 -06:00
Dana Robinson
191cc19ae0 Added vlen reclaim functions to a test in tfile.c
that leaks memory.
2016-11-23 16:45:47 -05:00
Dana Robinson
b0321f7e7d Merge pull request #170 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fixed a few memory issues in the tests.

* commit 'e2863ca880a6983558d3ba3e5219164a57287f04':
  Fixed a few memory problems in test/cache_logging.c and test/h5test.c (which show up in test/vfd.c).
2016-11-23 12:58:12 -06:00
Allen Byrne
4bb51bbbaa Merge pull request #168 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c2e60909e35d988e86d78b7c8bfc0d2d51c4e75f':
  Add test to memcheck ignore and increase cache test timeout
2016-11-23 09:16:22 -06:00
Dana Robinson
e2863ca880 Fixed a few memory problems in test/cache_logging.c and
test/h5test.c (which show up in test/vfd.c).
2016-11-22 20:55:03 -05:00
Allen Byrne
c2e60909e3 Add test to memcheck ignore and increase cache test timeout 2016-11-22 15:04:34 -06:00
Dana Robinson
fff898558e Merge pull request #167 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Applied the evict-on-close "check for file closing" change that was successful for groups to datasets.

* commit '88b6f2e24cafcfaffe7d99ab6c5afc2290ce93b4':
  Added the H5F_CLOSING() check that makes valgrind happy in the evict-on-close code in H5G_close() to H5D_close().
2016-11-22 08:54:47 -06:00
Dana Robinson
72ecaf0940 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-21 17:48:03 -05:00
Dana Robinson
88b6f2e24c Added the H5F_CLOSING() check that makes valgrind happy in
the evict-on-close code in H5G_close() to H5D_close().
2016-11-21 17:45:46 -05:00
Dana Robinson
a44d7b8754 Merge pull request #166 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Two minor evict-on-close changes:

* Fix for a valgrind-reported issue where invoking EoC behavior when the file is closing leads to garbage file data being passed to downstream calls. The solution is to ignore EoC when the file is closing anyway.

* Added brackets so an infinite loop that arises when evicting tagged entries (due to pinned entries preventing progress) raises an error instead.

* commit '4e7b19f8260a7adb0e3b3df30e2d8289fccdcca6':
  Two minor cache changes:
2016-11-21 12:28:48 -06:00
Quincey Koziol
cbd05409c5 Merge pull request #165 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_09 to develop
* commit '3b0c2b24da5689990c4bc0fcd3afecdf063086c8':
  Bring over support for retrying metadata cache entry loads, along with all the supporting metadata cache callback changes, etc.
2016-11-20 15:33:13 -06:00
Dana Robinson
4e7b19f826 Two minor cache changes:
* 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.
2016-11-20 11:57:46 -05:00
Quincey Koziol
3b0c2b24da Bring over support for retrying metadata cache entry loads, along with all the
supporting metadata cache callback changes, etc.
2016-11-20 04:24:57 -08:00