Commit Graph

15902 Commits

Author SHA1 Message Date
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
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
Quincey Koziol
f6ad126673 Merge pull request #163 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_08 to develop
* commit 'eba0ff43c968ef9a0b09edf19c1e337cfcae0816':
  Remove 'clear' callback from metadata cache client interface, using the new 'entry cleaned' notify action innstead.
2016-11-17 21:03:43 -06:00
Quincey Koziol
eba0ff43c9 Remove 'clear' callback from metadata cache client interface, using the
new 'entry cleaned' notify action innstead.
2016-11-17 17:48:21 -08:00
Quincey Koziol
248a93cde8 Merge pull request #162 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_07 to develop
* commit 'be27e1ad79dfa0507f589b29d938b7e1020a5b2d':
  Remove explicit support within the metadata cache for tracked compressed entries, they are now completely handled in the clients.
2016-11-17 16:25:28 -06:00
Quincey Koziol
be27e1ad79 Remove explicit support within the metadata cache for tracked compressed
entries, they are now completely handled in the clients.
2016-11-17 12:58:04 -08:00
Allen Byrne
fe849d26cd Merge pull request #160 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '45d817af9ca4db92db0eba81e4c330380c26a41e':
  Repair comment chars to C style
2016-11-17 13:34:50 -06:00
Allen Byrne
45d817af9c Repair comment chars to C style 2016-11-17 09:28:18 -06:00
Binh-Minh Ribler
e10c0e7894 Merge pull request #158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Removed the obsolete macros H5_NO_NAMESPACE and H5_NO_STD from the examples.

* commit '51ea7245dfdbda8311961ea4755c8d9c8ce99d76':
  Description:         Removed H5_NO_NAMESPACE from the examples.  They were missed from the         previous cleanup.     Platforms tested:         Linux/32 2.6 (jam)         Linux/64 (platypus)
2016-11-15 10:29:28 -06:00
Binh-Minh Ribler
51ea7245df Description:
Removed H5_NO_NAMESPACE from the examples.  They were missed from the
        previous cleanup.
    Platforms tested:
        Linux/32 2.6 (jam)
        Linux/64 (platypus)
2016-11-14 16:04:27 -06:00
Quincey Koziol
4c708cc78d Merge pull request #156 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_06 to develop
* commit 'd4591ff54d9319346f49a3bc67431f0fa26a8d65':
  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.
2016-11-12 19:44:57 -06:00
Quincey Koziol
d4591ff54d 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.
2016-11-12 14:01:30 -08:00
Quincey Koziol
d183e9a1a2 Merge pull request #155 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_05 to develop
* commit '1c6924f18bd8fdad63c4f191c00605092c17fa6e':
  Refactor H5O code to clean up message allocation, align cache deserialize code with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 13:01:58 -06:00
Quincey Koziol
99f123098e Merge pull request #154 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_04 to develop
* commit '80ac4343cdf0640b114b846db87c091c6e7c66a6':
  Align w/minor cleanups in revise_chunks branch.
2016-11-12 13:01:32 -06:00
Quincey Koziol
1c6924f18b Refactor H5O code to clean up message allocation, align cache deserialize code
with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 01:05:47 -08:00
Quincey Koziol
80ac4343cd Align w/minor cleanups in revise_chunks branch. 2016-11-11 23:14:58 -08:00
Quincey Koziol
70938cbf28 Merge pull request #151 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '31ffc1e72687b4d27602a044565bde6b1e9d803f':
  Clean up cache code to eliminate dead-ends and unify code.
2016-11-11 17:13:03 -06:00
Dana Robinson
0c542a5b12 Merge pull request #152 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Moved Win32 variables in log VFD to top of function like in revise_chunks.

* commit 'be0dfa3e22bcd1454215e2a348756bf21e749044':
  Moved Win32 variables to top of function in H5FDlog.c.
2016-11-11 16:26:48 -06:00
derobins
be0dfa3e22 Moved Win32 variables to top of function in H5FDlog.c. 2016-11-11 14:16:24 -05:00
Dana Robinson
dd4f4e6f76 Merge pull request #144 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:restore_script_dev to develop
Added autogen "undo" script to bin/

* commit '57a8bb60811b6d788d586836674ab8ea779131d3':
  Adds a script to undo the action of autogen.sh. Useful when git complains about Makefile.in clobbers, etc.
2016-11-10 15:03:36 -06:00
Quincey Koziol
31ffc1e726 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_merge_revise_chunks_03 2016-11-10 12:50:11 -08:00
Quincey Koziol
492eae3995 Clean up cache code to eliminate dead-ends and unify code. 2016-11-10 12:49:22 -08:00
Allen Byrne
09f70066db Merge pull request #148 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e40faaa8fbc8490af626dd9da3ff741284327e65':
  Update installdir format for windows
  Correct name of list
  Factor out path
  On windows there could be a conflict when two processes try to read the same file
2016-11-10 12:22:56 -06:00
Allen Byrne
e40faaa8fb Update installdir format for windows 2016-11-10 12:22:11 -06:00
Allen Byrne
17ea6aac20 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'ea55d4192e14411e3c67facac57bb547b6fc3402':
  Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings about forward-compatibility after tools split.
2016-11-10 09:24:58 -06:00
Dana Robinson
ea55d4192e Merge pull request #147 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:subdir-objects to develop
Adds subdir-objects to AM_INIT_AUTOMAKE to quiet forward-compatibility warnings from automake after the tools directory rework.

* commit 'a203f2369af79f4b2b838ab457d81749456c2a4b':
  Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings about forward-compatibility after tools split.
2016-11-10 09:05:57 -06:00
Dana Robinson
a203f2369a Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings
about forward-compatibility after tools split.
2016-11-10 02:00:58 -05:00
Allen Byrne
94f09655cb Correct name of list 2016-11-09 12:39:22 -06:00
Allen Byrne
a2e6cb3c82 Factor out path 2016-11-09 11:55:28 -06:00
Allen Byrne
f9674dfe4e On windows there could be a conflict when two processes try to read the
same file
2016-11-09 10:37:04 -06:00
Dana Robinson
57a8bb6081 Adds a script to undo the action of autogen.sh. Useful
when git complains about Makefile.in clobbers, etc.
2016-11-08 12:47:36 -05:00
Dana Robinson
c5ca422496 Merge pull request #138 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Pget_driver_info_retval to develop
Changed the return type of H5Pget_driver_info() from void * to const void *

* commit '8eaa0af30585adbbab29686541cd33e058abd6e8':
  Changed the return type of H5Pget_driver_info() from void * to const void *. Fixes HDFFV-10017.
2016-11-07 11:11:58 -06:00
Quincey Koziol
21c68f4393 Merge pull request #140 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_02 to develop
* commit '9504d3f337c94c1a2d00bc5b05561e6ed1cee798':
  Switch to new, more scalable, metadata cache entry tagging.
  Remove routines not yet used in develop
2016-11-07 10:47:29 -06:00
Quincey Koziol
9504d3f337 Switch to new, more scalable, metadata cache entry tagging. 2016-11-06 23:14:10 -08:00
Quincey Koziol
323ae13590 Remove routines not yet used in develop 2016-11-06 22:04:36 -08:00
Quincey Koziol
9dc83a5f99 Merge pull request #139 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'bb6cb6adb005b0447c1dbb5d61711e3a459ade1f':
  Code style and warning cleanups, from revise_chunks branch.
2016-11-06 22:10:40 -06:00
Quincey Koziol
bb6cb6adb0 Code style and warning cleanups, from revise_chunks branch. 2016-11-06 12:08:19 -08:00
Dana Robinson
8eaa0af305 Changed the return type of H5Pget_driver_info() from void * to
const void *. Fixes HDFFV-10017.
2016-11-05 00:31:26 -04:00
Quincey Koziol
2b5efccc30 Merge pull request #134 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '9187e8c5d0663c176c50cc5b6053a8732a834194':
  Add missing retrieval of cache logging name, from revise_chunks.
2016-11-04 13:49:39 -05:00
Quincey Koziol
9187e8c5d0 Add missing retrieval of cache logging name, from revise_chunks. 2016-11-04 09:56:55 -07:00
Allen Byrne
ab66f6aa8c Merge pull request #133 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
Buildbot mktarball test pass

* commit '070362cc93793f3b4fa3cc9bc44b235461520408':
  Fix mktarball errors with Manifest
2016-11-04 10:52:43 -05:00
Quincey Koziol
a3d74c9be4 Merge pull request #131 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '872d1666b4d24eb381773baaaaed6b6bf00dd080':
  Add public H5F* routines for cache logging.
  Add cache logging test.
  Add cache logging property and file pieces.
  Add logging prototypes and cache struct fields.
  Add logging error message.
  Bring cache logging routines from revise_chunks branch to develop.
  Remove static definition for debugging routines.  *sigh*
  Add missing prototypes for cache debugging routines.
2016-11-04 10:20:39 -05:00
Quincey Koziol
872d1666b4 Add public H5F* routines for cache logging. 2016-11-04 08:14:12 -07:00
Allen Byrne
070362cc93 Fix mktarball errors with Manifest 2016-11-04 09:34:01 -05:00
Quincey Koziol
0d12ce44b2 Add cache logging test. 2016-11-03 23:27:10 -07:00