summaryrefslogtreecommitdiffstats
path: root/test/swmr_reader.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29193] Added POSIX wrappers for a few SWMR test functions thatDana Robinson2016-02-231-3/+3
| | | | | | | | were missed. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial CMake serial (build only)
* [svn-r29189] Updated CMake to build SWMR and SWMR VDS test files.Dana Robinson2016-02-231-57/+54
| | | | | | | Many SWMR test files were updated to include h5test.h and use HD posix function wrappers so they will compile on Windows. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 & CMake 3.3.2 64-bit Windows 10 w/ VS 2015 Pro & CMake 3.3.1
* [svn-r28400] Fix for daily test failure on platypus for gcc 5.2 with -m32.Vailin Choi2015-11-191-1/+1
| | | | | This is due to 32 bit overflow from swmr_*.c when random seed was computed from gettimeofday. Tested on platypus (32bit and 64bit), emu, moohan, osx1010test.
* [svn-r27344] Updated the SWMR acceptance tests to use h5_fileaccess() to obtainDana Robinson2015-07-071-1/+10
| | | | | | a VFD-specific file access property list when running 'make check-vfd'. Tested on: OS X 10.10.2 (Yosemite) w/ clang 6.1.0 (Xcode 6.3.2)
* [svn-r22922] Purpose:Dana Robinson2012-10-181-17/+17
| | | | | | | | | | | Moved the file open/close back inside the loop in the SWMR reader code. Without the open/close, the cache never refreshes so we always see the initial amount. Made a couple of other minor changes to the SWMR code. Tested on: jam
* [svn-r22918] Purpose:Dana Robinson2012-10-181-381/+500
| | | | | | | | | | | | - Added comments to files, functions, etc. - Some readers changed to keep the file open throughout the life of the program instead of closing it before sleeping. This is in the hopes that there will be more opportunities for cache issues without the close. - Other minor changes. Tested on: jam
* [svn-r22898] Purpose:Dana Robinson2012-10-131-59/+87
| | | | | | | | | | | | | Updates the SWMR testing - All readers/writers now consume and emit their random seeds for debugging. - Output uses unbuffered I/O for more readable output. - The random seeds are now based on a more fine-grained time measurement to ensure each reader has a different random seed. Tested on: jam
* [svn-r22422] Purpose: Add support for SWMR with v2 b-treesNeil Fortner2012-05-301-4/+4
| | | | | | | | | | | | | Description: Adds SWMR support to the v2 b-trees when used as a chunk index. Because each node keeps track of the total number of records reachable through each of its children, nodes must be shadowed every time a descendent record is inserted or removed. This implementation prevents this from happening, however, if the node has already been shadowed since the last time the v2 b-tree header was flushed. Also modified SWMR test to include v2 b-trees. Tested: jam, koala, ostrich (h5committest), durandal Note: There is a preexisting failure in the ph5diff (-v) test
* [svn-r21989] Purpose: Add SWMR capability to v1 b-treeNeil Fortner2012-02-271-4/+4
| | | | | | | | | | | | | | | | | | | | | Description: Adds SWMR capability to v1 b-trees, and the chunk index using v1 b-trees. With this implementation, flush dependencies are always on when in the cache. This will allow attritbutes to be used for "checkpointing" data when object header dependencies are fixed - i.e. if a writer writes data before an attribute in that dataset's object header, then if a reader sees the updated attribute the written data is guaranteed to be visible, as long as that dataset's b-tree nodes are evicted from the reader's cache. Also adds support for compression with SWMR. Also fixes earray implementation to not free (reuse) the file space for deleted chunks and outdated versions of compressed chunks when doing SWMR writes. These should eventually be added to a timeout list. Adds testing for these cases. Tested: durandal
* [svn-r18638] Description:Quincey Koziol2010-04-271-12/+20
| | | | | | | | | | | | | | | | | | | | | | | Lock the dataspace message into object header chunk #0 (so that the flush dependency between the extensible array and the object header works and has the correct semantics). Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17236] Description:Quincey Koziol2009-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | Add full support for any [single] dimension being unlimited when using extensible arrays as a chunk index. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.7 (amazon) in debug mode Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17224] Installed SWMR testings.Albert Cheng2009-07-221-0/+345
Tested: amani.