[svn-r24459] Checkin for bug fix SWMR-11: used message file to coordinate test runs for h5watch.
The changes were initially done as part of the file locking implementation.
This is a merge from the revise_chunks #24454.
In addition, a bug fix when enable-production in test/tfile.c--
--test_swmr_write(): use latest format in creating the test files
[svn-r24414] Fixed failure of dsets test when --enable-production is set. Fixes SWMR-12.
Also fixed a few minor warnings in dsets.c.
Tested on: jam (very minor test code change)
[svn-r24399] Removed the need to include getopt.h which is already defined in POSIX.2.
unistd.h includes getopt definitions.
Test: h5committest being run--it passes the make part already.
[svn-r24331] Changes to track metadata read retries for metadata items with checksum.
Implement new public routine H5Fget_metadata_read_retries_info().
h5committested.
[svn-r24327] Changed the version subrelease string to "swmr_chksum0" so that this
branch can be identified with this unique string.
Tested: Koala passed.
[svn-r24304] Removed the iteration (-i) option since it does not make sense to for
the writer process to rewrite the data file while the reader process
may still be reading linked blocks of the previous iteration.
Tested: jam
[svn-r24299] Merge r24294 and r24295 from branches/revise_chunks.
twriteorder.c:
Add option parsing support to allow running with different parameter values.
test_usecases.sh.in:
Add the write order test here temporary.
Need to move it to a permenant place later.
tested: koala
[svn-r24297] Merge r24067 from branches/revise_chunks.
Creating the test program of order of writes.
For now, it is just a dummy program. Checking it in
so that I can check them out for my Mac laptop to work on offsite.
tested: koala
[svn-r24279] Merge of r24278 from revise_chunks.
Changes the MD cache so that writing v-1 B-tree nodes under SWMR
semantics will fail.
Tested on: jam (previously tested on more platforms)
[svn-r24263] Changes to do re-reads for metadata with checksums when a file is opened with SWMR access.
There are debugging printfs which will be removed when coding is finalized.
Also some bug fixes:
1) accum.c--clean up some warning messages and use new_argv/new_envp for the call to execve.
2) hl/tools/h5watch--clean up some warning messages and a bug fix for h5watch.c.
This checkin is awaiting code review feedback.
[svn-r24160] Bring revision #24064 from revise_chunks to
revise_chksum_retry. h5committested.
Only these two files have content changes: test/use_common.c, test/use.h.
This line, and those below, will be ignored--
_M .
_M tools/h5dump/testh5dumppbits.sh.in
_M tools/testfiles/tcmpdattrintsize.ddl
_M tools/testfiles/tcmpdattrintsize.h5
_M tools/testfiles/charsets.h5
_M tools/testfiles/tattrintsize.ddl
_M tools/testfiles/charsets.ddl
_M tools/testfiles/tcmpdintsize.h5
_M too...
[svn-r24064] Purpose:
Updates the use_append_mmchunks test to use the most recent file
format. This switches the chunk index type from version 1 B-tree
(which is not SWMR-safe due to the lack of a checksum) to
extensible array.
This fixes the SWMR-6 issue in JIRA.
Also cleaned up the code a little so it compiles without warnings.
Tested on:
jam (32-bit linux)
[svn-r23851] Bug fix: after printing usage for -h option, it should have ended the program.
Solution: added exit(0) after usage(). This is not a good fix but will work
for now.
Test: jam.
[svn-r23848] Bug fix:
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.
[svn-r23828] Fix 2 bugs for SWMR access:
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.
[svn-r23777] Implement SWMR-5:
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.
[svn-r23775] Implement SWMR-5:
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.
A...
[svn-r23760] Implement SWMR-5:
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.