summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24353] Fixes for parameter declarations and warnings.Vailin Choi2013-10-241-12/+12
|
* [svn-r24332] Bring revision #24330 from revise_chunks. h5committested.Vailin Choi2013-10-182-35/+37
|
* [svn-r24331] Changes to track metadata read retries for metadata items with ↵Vailin Choi2013-10-188-110/+784
| | | | | | | checksum. Implement new public routine H5Fget_metadata_read_retries_info(). h5committested.
* [svn-r24310] Bring revision #24293 from revise_chunks.Vailin Choi2013-10-161-1/+1
| | | | h5committested.
* [svn-r24306] Created a user instruction for running the POSIX Order test.Albert Cheng2013-10-161-0/+94
|
* [svn-r24305] Preceding committed version was a mistake. Comitting this in to ↵Albert Cheng2013-10-161-87/+41
| | | | | | restore it back to previus version.
* [svn-r24304] Removed the iteration (-i) option since it does not make sense ↵Albert Cheng2013-10-162-56/+91
| | | | | | | | | 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.Albert Cheng2013-10-152-30/+168
| | | | | | | | | | | 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-r24298] Merge r24096 from revise_chunks branch.Albert Cheng2013-10-151-9/+274
| | | | | | A first implementation of the POSIX order tests. Tests: passed in koala.
* [svn-r24297] Merge r24067 from branches/revise_chunks.Albert Cheng2013-10-153-23/+102
| | | | | | | | 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.Dana Robinson2013-10-107-47/+176
| | | | | | | 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 ↵Vailin Choi2013-10-087-65/+635
| | | | | | | | | | | 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-r24064] Purpose:Dana Robinson2013-08-232-33/+67
| | | | | | | | | | | | | | 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-r24062] Bring revisions #24030 - 24058 from trunk to revise_chunks.Vailin Choi2013-08-232-167/+191
| | | | h5committested.
* [svn-r24061] Bring revisions # 24029 - 24030 from trunk to revise_chunks.Vailin Choi2013-08-224-426/+426
| | | | h5committested.
* [svn-r24060] Bring revisions #24002 - 24029 from trunk to revise_chunks.Vailin Choi2013-08-229-1279/+1282
| | | | h5committested.
* [svn-r24034] Bring revisions #23977 - 23984 from trunk to revise_chunks.Vailin Choi2013-08-205-3/+44
| | | | h5committested.
* [svn-r23959] Bring revisions #23745 - 23862 from trunk to revise_chunks.Vailin Choi2013-07-311-58/+58
| | | | h5committested.
* [svn-r23954] Bring revisions #23715 - 23745 from trunk to revise_chunks.Vailin Choi2013-07-311-0/+14
| | | | h5committested.
* [svn-r23948] Bring revisions #23670 - 23713 from trunk to revise_chunks.Vailin Choi2013-07-306-28/+17
| | | | h5committested.
* [svn-r23946] Bring revisions #23597 - #23670 from trunk to revise_chunks.Vailin Choi2013-07-304-10/+542
| | | | h5committested.
* [svn-r23852] Added a user instruction of the atomic test.DLS_20130630Albert Cheng2013-06-301-0/+48
|
* [svn-r23851] Bug fix: after printing usage for -h option, it should have ↵Albert Cheng2013-06-301-0/+1
| | | | | | | | | 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:Albert Cheng2013-06-291-1/+1
| | | | | | | | 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:Vailin Choi2013-06-265-27/+418
| | | | | | 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-r23802] Added use case 1.9, Appending n-1 dimensional planes.Albert Cheng2013-06-211-0/+37
|
* [svn-r23792] Added use case 1.8, use_append_mchunks.Albert Cheng2013-06-181-66/+161
|
* [svn-r23777] Implement SWMR-5:Albert Cheng2013-06-151-1/+10
| | | | | | | | 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:Albert Cheng2013-06-145-788/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r23774] The standalone writer & reader tests that check atomic ↵Vailin Choi2013-06-144-21/+616
| | | | read-write operation on the system.
* [svn-r23760] Implement SWMR-5:Albert Cheng2013-06-124-8/+601
| | | | | | | | | | | | | | | | 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.
* [svn-r23757] Simple clean up--removed couple old commented line.Albert Cheng2013-06-121-2/+0
| | | | Tested: h5committested.
* [svn-r23750] Bug fix: SWMR-hh1 and SWMR-2Albert Cheng2013-06-101-3/+15
| | | | | | | | | | | | | | | 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-r23730] Fixed a typo (size should be 256) and some formatting.Albert Cheng2013-06-021-11/+14
|
* [svn-r23729] First edition of User Guide of SWMR Use Case programs.Albert Cheng2013-06-021-0/+88
|
* [svn-r23728] Updated the comments of create, write, and read process.Albert Cheng2013-06-021-7/+8
| | | | Tested: koala.
* [svn-r23727] Added test/test_usecases.sh for testing use cases.Albert Cheng2013-06-023-3/+125
| | | | Tested: h5committest.
* [svn-r23726] Changed use case programs to more descriptive names.Albert Cheng2013-06-015-21/+25
| | | | | | | | | | 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:Albert Cheng2013-05-313-64/+136
| | | | | | | | | | | 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-r23724] Add use case 1.7--SWRM read/write one chunk at a time.Albert Cheng2013-05-315-6/+699
| | | | Tested: h5committest.
* [svn-r23601] Bring revisions #23341 - 23597 from trunk to revise_chunks.Vailin Choi2013-04-1911-100/+1482
| | | | h5committtested.
* [svn-r23600] Bring revisions #23085 - #23341 from trunk to revise_chunks.Vailin Choi2013-04-1916-133/+1237
| | | | h5committested.
* [svn-r23599] Bring revisions 22802 : 23085 from trunk to revise_chunks.Vailin Choi2013-04-1834-149/+1331
| | | | h5committested.
* [svn-r23582] Bring revisions 22708:22730 from trunk to revise_chunks.Vailin Choi2013-04-127-29/+155
| | | | h5committested.
* [svn-r23577] Bring revisions 22708:22730 from trunk to revise_chunks.Vailin Choi2013-04-115-30/+25
| | | | h5committested.
* [svn-r23574] Bring revisions 22690 - 22708 from trunk to revise_chunks.Vailin Choi2013-04-111-123/+178
| | | | h5committested.
* [svn-r23568] Bring revision 22634:22690 from trunk to revise_chunks.Vailin Choi2013-04-093-125/+306
| | | | h5committested.
* [svn-r23135] Purpose: Fix bug in SWMR object header codeNeil Fortner2013-01-042-11/+48
| | | | | | | | | | | | | 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
* [svn-r23104] Purpose: Add object header flush dependenciesNeil Fortner2012-12-141-14/+1
| | | | | | | | | | | 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 ↵Neil Fortner2012-12-124-1050/+1652
| | | | | | | | | | | | | | | 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