[svn-r23750] Bug fix: SWMR-hh1 and SWMR-2
When zlib is not available (use "configure --without-zlib"), some tests
failed to not using compression features.
Solution:
test/dsets.c:
Conditional blocked out use of zlib compression code.
tools/h5ls/testh5ls.sh.in:
Temporary commented out test code that uses datafile that has zlib
compressed data.
Tested: h5committest (cmake does not work but that is ignored for now.) Also,
hand tested in koala using "configure --without-zlib".
[svn-r23726] Changed use case programs to more descriptive names.
usecase1_7.c -> use_append_chunk;
usecase_common.c -> use_common.c;
usecase.h -> use.h.
MANIFEST updated with new names.
Tested: h5committest.
[svn-r23725] Added two new features:
1. "-f filename" can create the test file somewhere other than
the current directory or <progname>.h5. This allows running tests in different
filesystems, for example.
2. "-l w|r" can launch only the writer or the reader (default does both).
This allows launching writer (includes the "create file") in one process and
launching the reader somewhere else. (The "-f" helps too.)
Tested: h5committested.
[svn-r23722] Remove duplicated entries of hl/test/gen_test_ds.c.
Resort the hl/test/* entries to be alphabetical order, easier to detect
duplicates like this.
[svn-r23135] Purpose: Fix bug in SWMR object header code
Descriptions:
When removing object header messages, it is possible for object header
continuation messages to move to a different chunk. When this happens, flush
dependencies need to be updated to reflect the new structure. This change adds
code to update the flush dependencies, and a test for this.
Also fixed a bug where the flush dependency no the object header proxy was not
being destroyed when an object header chunk was deleted....
[svn-r23104] Purpose: Add object header flush dependencies
Description:
Added flush dependencies between object header chunks. Also added a new object
header proxy object, which is a child dependency of all object header chunks.
All objects which are child dependencies of an object header should set up a
flush dependency on the object header proxy, so the dependency applies to all
object header chunks.
Tested: ummon; jam (fails ph5diff -v, unrelated), koala, ostrich (h5committest)
[svn-r23095] Purpose: Refactor flush dependency code, add support for multiple parents
Description:
Reworked how flush dependencies worked internally, allowing multiple flush
dependency parents, and removing the notion of flush dependency heights, instead
keeping track of the number of dirty descendents to determine if parents can be
flushed. Also removed the requirement that cache clients destroy flush
dependencies before eviction (this is now handled by the cache) and removed the
maximum ...
[svn-r22950] Purpose: Fix testflushrefresh failures
Description:
Since the "flush me last" code was introduced, it was no longer possible for the
superblock to be flushed to disk without flushing the entire file. This made it
impossible to open a file concurrently, even after calling H5Gflush on the root
group. The superblock was originally supposed to be flushed every time any
object was explicitly flushed with H5*flush.
Modified H5C_flush_cache to ignore flush me last flag if the entry ...
[svn-r22922] Purpose:
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:
- 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-r22901] Purpose:
Fixes a bug in H5Fsuper_cache.c where a logical AND was
used instead of a bitwise AND.
Tested on:
miette (Mac OS-X 10.8 / clang) (very minor change)
[svn-r22900] Purpose:
Create/destroy flush dependency between the fractal
heap header and the 'huge' v2 B-tree.
Tested on:
jam (still has flush refresh test error)
[svn-r22898] Purpose:
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-r22833] Purpose:
Basic SWMR and flush dependency plumbing for fractal heaps. Does not include
flush dependency creation code.
Changes to the H5EA* code were just some indenting issues.
Tested on jam
[svn-r22812] Purpose:
Mainly to add SWMR flush dependencies to the free space manager (H5FS) code.
Also fixes a few issues with the local heap and the fixed array code, and
brings the MANIFEST up to date.
Tested on: jam
[svn-r22792] Purpose:
Add flush dependencies to the fixed array code.
Description:
Updated MANIFEST.
Tested:
jam (there is an existing flush/refresh test error)
[svn-r22790] Purpose:
Add flush dependencies to the fixed array code.
Description:
Updated CMakeLists.txt for new H5FAint.c file.
Tested:
jam (there is an existing flush/refresh test error)
[svn-r22789] Purpose:
Add flush dependencies to the fixed array code.
Description:
Forgot to add new file.
Tested:
jam (there is an existing flush/refresh test error)
[svn-r22784] Purpose:
Add flush dependencies to the fixed array code.
Description:
Added basic flush dependency wiring to the fixed array code. Does not
include the test code, which will be added soon.
NOTE: The Makefile.in change in test/ is not due to any changes made
here. It appears to be from a missing bin/reconfigure in a prior
checkin.
Tested:
jam (there is an existing flush/refresh test error)
[svn-r22761] Purpose: Fix testswmr failures
Description:
Patched H5B2 shadowed list implementation to remove nodes from the shadowed list
when they are evicted, and added some missing initializations. Also removed
inadvertent temporary changes to the tests that disabled srandom, added
assertions and fixed formatting.
Tested: ummon
[svn-r22669] Description:
Merge r22634:2266 from trunk to revise_chunks branch
Tested on:
Mac OSX/64 10.7.4 (amazon) w/debug, gcc-4.7.x, C++, FORTRAN and threadsafe
(h5committest not needed on this branch)