Commit Graph

2867 Commits

Author SHA1 Message Date
Allen Byrne
2b383bb8ff HDFFV-10124 Using cache_common.h contains other include files 2017-02-02 11:55:01 -06:00
Allen Byrne
21d48c1d1f Fix Windows static only cache test checking 2017-01-31 09:26:44 -06:00
Quincey Koziol
a9808853d5 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_06 2017-01-28 23:27:08 -08:00
Quincey Koziol
3ad18072eb Add missing files 2017-01-28 23:21:22 -08:00
Quincey Koziol
1949d5756d Cache image feature and testing 2017-01-28 23:19:37 -08:00
Quincey Koziol
5a776edb81 Bring change to use array of metadata cache entry classes for H5C_create
instead of array of class names from cache image branch.
2017-01-27 23:18:47 -08:00
Quincey Koziol
349f41d974 Switch list lengths to unsigned integers (to align better w/cache image merge) 2017-01-27 20:35:14 -08:00
Dana Robinson
081955fdd1 Additional minor changes from revise_chunks->develop. 2017-01-27 16:46:09 -05:00
Dana Robinson
2cac1c0637 Moved remaining SWMR-related test files to develop. 2017-01-26 14:34:12 -05:00
Allen Byrne
6b9a7cece4 Disable SHARED cache test on windows 2017-01-24 09:28:11 -06:00
Allen Byrne
556ff06975 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bd85e57904f1f943774bb99ea5e8b0d074db0edb':
  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.
2017-01-13 10:57:26 -06:00
lrknox
8452976de5 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
         "make check" in the source directory.

    Fix test scripts that remove source-controlled files during "make check" when run in-source.
    Fix test scripts that don't remove test files because they add files to test directories but don't remove them if the build directories are the same as the source directory.

    Fix any test source file or Makefile.am files for tests that leave data files are removed by neither "make check" nor "make distclean".
2017-01-12 22:20:11 -06:00
Allen Byrne
1bca531a73 Remove duplicate command 2017-01-12 09:04:10 -06:00
Allen Byrne
244faaa0d0 HDFFV-10094: upgrade cmake command conventions
Also converted tests to use macros
2017-01-11 14:02:34 -06:00
Allen Byrne
e1bcae8a6a Update cmake min version and cmake command convention 2017-01-10 17:10:03 -06:00
Quincey Koziol
8d4c84eae2 Bring changes to metadata cache "get entry status" call and new
"child serialized / unserialized" messages and support from the cache image
branch.
2017-01-06 11:37:17 -08:00
Quincey Koziol
7568dcaf15 Add "image up to date" flag / parameter to metadata cache entry status calls. 2017-01-06 07:51:40 -08:00
Quincey Koziol
afd7e5b476 Bring file shutdown code from cache image branch 2017-01-04 21:36:14 -08:00
Quincey Koziol
e73a32b852 Remove 'const' from cache client pre_serialize callback, to reduce warnings,
and correspondingly remove 'const' from some internal routines.  Also rename
some H5MF* routines to reflect their static/package usage.
2017-01-03 08:28:05 -08:00
Dana Robinson
105b6f0f65 Merge pull request #227 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
flush1/2 fix w/ non-SWMR VFDs + code overhaul

* commit 'fcb7e204b568efb785f47153172147b83da5418a':
  Updated the flush1/2 test to not be a mess and to handle non-SWMR-enabled VFDs.
2016-12-31 07:20:09 -06:00
Dana Robinson
fcb7e204b5 Updated the flush1/2 test to not be a mess and to handle
non-SWMR-enabled VFDs.
2016-12-30 14:41:37 -05:00
Dana Robinson
3908d10f93 Merge pull request #226 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
Added a missing "vfd check" test file for use in scripts (should have been brought from revise_chunks).

* commit 'e41a15b7f07dc39b7d68f4635965d0b8b440d299':
  Added a missing test file needed for the flushrefresh script.
2016-12-30 10:37:58 -06:00
Dana Robinson
e41a15b7f0 Added a missing test file needed for the flushrefresh script. 2016-12-30 10:06:07 -05:00
Quincey Koziol
0610c41c75 Bring support for doubly-linked list of all entries in cache from incoming
cache image branch.
2016-12-30 02:22:48 -08:00
Quincey Koziol
da2f1610d1 More normalizations against incoming cache image branch. 2016-12-29 02:40:26 -08:00
Quincey Koziol
eefddf2813 Bring new/updated tests from revise+chunks branch: flush1/flush2 update and
flushrefresh test.  (Also refactor of message send / wait code)
2016-12-19 20:44:54 -08:00
Quincey Koziol
f8cfbee05e Merge SWMR-related testing to existing tests. 2016-12-18 02:19:26 -08:00
Quincey Koziol
fc482f126f Bring over tweak for missing environment variable. 2016-12-18 00:59:36 -08:00
Quincey Koziol
104253575d Update CMake configuration files with SWMR accumulator changes. 2016-12-18 00:58:46 -08:00
Quincey Koziol
f01ee3c004 Add missing accumulator test. 2016-12-18 00:42:15 -08:00
Quincey Koziol
b772be716d Merge SWMR-oriented accumulator tests from revise_chunks to develop. 2016-12-18 00:41:13 -08:00
Quincey Koziol
feb9d1f676 Bring over changes from revise_chunks that cleanup recent SWMR changes from
code review feedback.
2016-12-11 00:28:05 -08:00
Dana Robinson
cc6eb939f4 Merge pull request #191 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_h5fs_fix to develop
Final fix for evict-on-close issues with new-style groups.

* commit '02879bc4b2ba161dc259bf28a71e7a99b44be0e3':
  Updated the H5FS cache code to grab the correct tag and modified 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.
  Changed the name of H5MF_alloc_close() to H5MF__alloc_close() to make the FUNC_ENTER macro happy.
  Reverted the freespace test. The TAG macros in H5MF_get_freespace() make the changes unnecessary.
  Added missing TAG macros to H5MF_get_freespace().
  Updated the freespace test so functions take a common, tagged dxpl so the test will work with the new H5FS tag changes.
  Updated the cache_tagging test so it correctly analyzes the new fractal heap free space manager behavior.
  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.
  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.
2016-12-10 08:09:40 -06:00
Dana Robinson
02879bc4b2 Updated the H5FS cache code to grab the correct tag and modified
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.
2016-12-07 21:16:12 -05:00
Dana Robinson
16a5c7c8f3 Merge branch 'develop' into eoc_h5fs_fix 2016-12-07 17:21:07 -05:00
Allen Byrne
fa6488d785 Reduce timeout as normal run time on windows is less then 10 min 2016-12-05 09:40:57 -06:00
Quincey Koziol
64a339183f Bring SWMR support in to the main development branch. (Finally!) More tests
and the tool and API wrappers will be coming in over the weekend.
2016-12-02 08:07:04 -08: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
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
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
30bd7247d8 Merge branch 'develop' into expanded_eoc_test 2016-11-29 12:52:46 -05: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
978e83fb5b Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:01:10 -05: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
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
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