| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
ended the program.
Solution: added exit(0) after usage(). This is not a good fix but will work
for now.
Test: jam.
|
|
|
|
|
|
|
|
| |
The script execute the program by just $program which will not work if the
user does not have "." in the $PATH.
Changed it to "./$program" to avoid this problem.
Tested: koala.
|
|
|
|
|
|
| |
1) H5O_load() in H5Ocache.c: when reading a block that is > spec_read siez, read the whole block in again and possibly decode the header.
2) H5F_accum_write() in H5Faccum.c: for a large write that is >= H5F_ACCUM_MAX_SIZE, flush the metadata in the accumulator first before the write.
Tests are added to test/ohdr.c and test/accum.c. h5committested.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Replace H5Fflush in writer with H5Dflush and file close/reopen with
H5Drefresh. Use cases seem to run faster. Keeping the old code so that
later on, I may test the performance between the two.
Tested: koala.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented use case 1.9: Appending n-1 dimensional planes
Adding the option "-y" which allows chunks to be thicker
(more than 1 plane). This supports use case 1.9 which have chunks
of multiple planes but writing is still appending one plane at a time.
Using -y with "use_append_chunk", would provide the use case
of writing a plane to a partial chunk.
Using -y with "use_append_mchunks", would provide the use case
of writing a plane to multiple partial chunks.
Also added the option -n which specifies how many planes to write
instead of the defaults of chunksize number of planes. This allows
the final dataset to be other than a cube.
test/use_append_mchunks.c:
test/use_common.c:
test/use.h:
test/use_append_chunk.c:
I also overhauled code in use_append_mchunks and use_append_chunk:
1. creating a set_parameter() to customize individual use case;
2. combine the create_uc_file(), read_uc_file() and write_uc_file()
of both use cases appending one plane per chunks and one plane per
multiple chunks. Moved these combined create/read/write functions
into use_common.c to make future modification and maintence easier.
test/test_usecases.sh.in:
Added a simple test to demonstarte how to use -y to run use case 1.9.
Tested: h5committest, except cmake, passed. Hand tested in Koala for various options.
|
|
|
|
| |
read-write operation on the system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented use case 1.8 program--SWRM read/write multiple chunks at a time.
test/use_append_mchunks.c:
The program.
test/Makefile.am:
test/Makefile.in:
Added program use_append_mchunks.
test/test_usecases.sh.in:
Added simple tests for use_append_mchunks.
MANIFEST:
Updated for new file.
Tested: h5committest, except cmake, passed. Hand tested in Koala for various options.
|
|
|
|
| |
Tested: h5committested.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
| |
|
| |
|
|
|
|
| |
Tested: koala.
|
|
|
|
| |
Tested: h5committest.
|
|
|
|
|
|
|
|
|
|
| |
usecase1_7.c -> use_append_chunk;
usecase_common.c -> use_common.c;
usecase.h -> use.h.
MANIFEST updated with new names.
Tested: h5committest.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Tested: h5committest.
|
|
|
|
|
| |
Resort the hl/test/* entries to be alphabetical order, easier to detect
duplicates like this.
|
|
|
|
| |
h5committtested.
|
|
|
|
| |
h5committested.
|
|
|
|
| |
h5committested.
|
|
|
|
| |
h5committested.
|
|
|
|
| |
h5committested.
|
|
|
|
| |
h5committested.
|
|
|
|
| |
h5committested.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Tested: ummon
|
|
|
|
| |
Tested: ummon
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Tested: ummon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 number of passes (the cache should detect infinite loops elsewhere).
Added test cases for this.
Tested: durandal
|
|
|
|
|
|
|
| |
Add missing skip list header to H5AC.c
Tested on:
jam (trivial change)
|
|
|
|
|
| |
Removed legacy Visual Studio solutions and projects, which will
no longer be supported after HDF5 1.8.10.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 is marked for
flush (which is done either by a tag for H5*flush or to free up space in cache)
and the flush marked entries flag is set.
Tested: ummon
|
|
|
|
|
|
|
| |
Updated CMakelists.txt to include H5FSint.c
Tested on:
jam
|
|
|
|
|
|
|
| |
Updated CMakelists.txt to include H5FSint.c
Tested on:
jam
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Converted an H5E_THROW to HGOTO_ERROR in the free space manager
code.
Tested on:
jam
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
Create/destroy flush dependency between the fractal
heap header and the 'huge' v2 B-tree.
Tested on:
jam (still has flush refresh test error)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Very minor change to an error reporting routine in the extensible
array code.
Tested on:
jam (very minor change)
|
|
|
|
|
|
|
|
| |
Fixes a variety of compile warnings and issues in the B-tree
and heap code.
Tested on:
jam
|
|
|
|
|
|
|
|
| |
Adds some additional flush dependency plumbing and fixes some minor
issues with the v2 B-tree code.
Tested on:
local Ubuntu VM
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add H5FSint.c file missing from last check-in.
Tested on: jam
|