summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23959] Bring revisions #23745 - 23862 from trunk to revise_chunks.Vailin Choi2013-07-31121-428/+956
| | | | h5committested.
* [svn-r23954] Bring revisions #23715 - 23745 from trunk to revise_chunks.Vailin Choi2013-07-3159-69/+252
| | | | h5committested.
* [svn-r23951] Bring revisions #23713 - 23715 from trunk to revise_chunks.Vailin Choi2013-07-311-4/+12
| | | | h5committested.
* [svn-r23948] Bring revisions #23670 - 23713 from trunk to revise_chunks.Vailin Choi2013-07-3096-1581/+1920
| | | | h5committested.
* [svn-r23946] Bring revisions #23597 - #23670 from trunk to revise_chunks.Vailin Choi2013-07-3043-766/+1507
| | | | h5committested.
* [svn-r23857] Updated with ./test/AtomicWriterReader.txt.Albert Cheng2013-07-021-0/+1
|
* [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-268-97/+556
| | | | | | 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-r23776] Add the two new files to MANIFEST for the previous checkin.Vailin Choi2013-06-141-0/+2
|
* [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-125-8/+602
| | | | | | | | | | | | | | | | 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-102-4/+17
| | | | | | | | | | | | | | | 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-r23749] Updated with the newly added test/SWMR_UseCase_UG.txt entry.Albert Cheng2013-06-101-0/+1
|
* [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-026-4/+129
| | | | Tested: h5committest.
* [svn-r23726] Changed use case programs to more descriptive names.Albert Cheng2013-06-016-24/+28
| | | | | | | | | | 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-316-6/+702
| | | | Tested: h5committest.
* [svn-r23722] Remove duplicated entries of hl/test/gen_test_ds.c.Albert Cheng2013-05-311-13/+12
| | | | | Resort the hl/test/* entries to be alphabetical order, easier to detect duplicates like this.
* [svn-r23601] Bring revisions #23341 - 23597 from trunk to revise_chunks.Vailin Choi2013-04-19111-3168/+5816
| | | | h5committtested.
* [svn-r23600] Bring revisions #23085 - #23341 from trunk to revise_chunks.Vailin Choi2013-04-19316-6524/+15421
| | | | h5committested.
* [svn-r23599] Bring revisions 22802 : 23085 from trunk to revise_chunks.Vailin Choi2013-04-18218-3729/+11785
| | | | h5committested.
* [svn-r23582] Bring revisions 22708:22730 from trunk to revise_chunks.Vailin Choi2013-04-1295-2425/+5010
| | | | h5committested.
* [svn-r23577] Bring revisions 22708:22730 from trunk to revise_chunks.Vailin Choi2013-04-11110-1020/+1029
| | | | h5committested.
* [svn-r23574] Bring revisions 22690 - 22708 from trunk to revise_chunks.Vailin Choi2013-04-1165-3662/+6032
| | | | h5committested.
* [svn-r23568] Bring revision 22634:22690 from trunk to revise_chunks.Vailin Choi2013-04-0952-1405/+1450
| | | | h5committested.
* [svn-r23135] Purpose: Fix bug in SWMR object header codeNeil Fortner2013-01-044-24/+117
| | | | | | | | | | | | | 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-r23109] Add cmake support to r23104Neil Fortner2012-12-171-0/+1
| | | | Tested: ummon
* [svn-r23104] Purpose: Add object header flush dependenciesNeil Fortner2012-12-1426-216/+1176
| | | | | | | | | | | 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-r23101] Minor corrections to r23095Neil Fortner2012-12-132-12/+5
| | | | Tested: ummon
* [svn-r23095] Purpose: Refactor flush dependency code, add support for ↵Neil Fortner2012-12-1212-2051/+2677
| | | | | | | | | | | | | | | 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
* [svn-r22965] Purpose:Dana Robinson2012-10-251-8/+8
| | | | | | | Add missing skip list header to H5AC.c Tested on: jam (trivial change)
* [svn-r22955] Purpose:Dana Robinson2012-10-23365-121985/+10
| | | | | Removed legacy Visual Studio solutions and projects, which will no longer be supported after HDF5 1.8.10.
* [svn-r22950] Purpose: Fix testflushrefresh failuresNeil Fortner2012-10-231-3/+4
| | | | | | | | | | | | | | | 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
* [svn-r22949] Purpose:Dana Robinson2012-10-231-0/+1
| | | | | | | Updated CMakelists.txt to include H5FSint.c Tested on: jam
* [svn-r22928] Purpose:Dana Robinson2012-10-191-0/+1
| | | | | | | Updated CMakelists.txt to include H5FSint.c Tested on: jam
* [svn-r22922] Purpose:Dana Robinson2012-10-186-40/+39
| | | | | | | | | | | 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-r22919] Purpose:Dana Robinson2012-10-181-1/+1
| | | | | | | | Converted an H5E_THROW to HGOTO_ERROR in the free space manager code. Tested on: jam
* [svn-r22918] Purpose:Dana Robinson2012-10-1811-1190/+2124
| | | | | | | | | | | | - 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:Dana Robinson2012-10-161-1/+1
| | | | | | | | 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:Dana Robinson2012-10-151-0/+7
| | | | | | | | Create/destroy flush dependency between the fractal heap header and the 'huge' v2 B-tree. Tested on: jam (still has flush refresh test error)