summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13549] Description:Quincey Koziol2007-03-271-3/+3
| | | | | | | | | Check in changes from Elena and I to get pgcc compiler working again. Primarily (all?) changes to move from using 'hsize_t' as array index to using something else ('size_t') mostly. Tested on: Linux/32 2.4 kagiso w/pgcc
* [svn-r13486] Description:Quincey Koziol2007-03-101-1/+0
| | | | | | | | | Move attribute tracking information out of object header prefix and make it into a message that is inserted only when attributes are present on the object. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13477] Description:Quincey Koziol2007-03-081-12/+10
| | | | | | | | | | | | | | | | | | | | The main purpose of this checkin was to eliminate the space used for tracking creation time indices when there is no way they can be used (i.e. attributes can't be shared in the file and the user hasn't turned on attribute creation tracking), however there were some other minor changes which crept in: - Fix a cache locking deadlock when a shared attribute and one of its components end up in the same fractal heap direct block. (This is fixed the "slow" way for right now, until John has time to add support for readers/writer locking to the cache. - Optimize attribute copying when a copy will be kept during a v2 B-tree search. - When freeing a block on disk, attempt to merge it with the metadata and "small data" aggregators. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13424] Problem:Elena Pourmal2007-02-271-0/+5
| | | | | | | | | External links test in tsohm.c tries to open a target file the second time. Therefore it fails for VMS. Solution: Commented out this test for VMS system. Platforms tested: VMS server and kagiso
* [svn-r13330] Added HDF5TestExpress functionality to tsohm.c. This may fix ↵James Laird2007-02-191-0/+12
| | | | | | | | | | the bug that sol's been having. When Express Testing (level 2 or 3) is enabled, the test will no longer repeatedly close and re-open a file, which should work better under AFS. Tested on kagiso (extremely minor change, no new code introduced).
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13224] Fixed a bug where messages would report their "raw size" as the ↵James Laird2007-01-301-4/+25
| | | | | | | | | | | | | | size of a shared message rather than the full size of the unshared message, which confused some shared message code. Added a test that should make sure that some messages are too small to be written to the deletion test in tsohm.c. Also added a small optimization so that hash values don't need to be calculated on deletes in list indexes. Tested on Windows, smirom, and kagiso.
* [svn-r13219] Description:Quincey Koziol2007-01-291-4/+4
| | | | | | | | | | | Move dataspace messages into new shared header message method calling scheme. Minor other cleanups, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13218] Description:Quincey Koziol2007-01-291-1/+3
| | | | | | | | | Add "old" fill value messages to "new" fill value message sharing (and keep them both in the same shared message index). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13217] Description:Quincey Koziol2007-01-291-1/+1
| | | | | | | | | | | Move fill value messages into new shared message method calling scheme. Only update an opened dataset's fill value property if it's different from the default fill value settings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13207] Added a debug function to dump file sizes during one of the ↵James Laird2007-01-261-1/+27
| | | | | | | | tsohm.c tests. Also cleaned up a warning. Tested on kagiso; changes should only affect debugging.
* [svn-r13143] Refactoring.James Laird2007-01-161-31/+118
| | | | | | | | | | | | | | Added can_share callback for OH messages. This determines whether the message is allowed to be shared in the heap (committed and immutable datatypes can't be). Fixed a bug in the dense attribute storage that tried to open the shared message heap when it hadn't been created yet. Made the test to extend shared dataspace messages a bit more robust. Refactored the code the searches a shared message list index to be a little more efficient. A few other minor changes. Tested on smirom, kagiso, Windows, and juniper.
* [svn-r13135] Continuing code cleanup.James Laird2007-01-111-1/+167
| | | | | | | | | Moved SOHM table version out of table encoding and completely into superblock. This is a file format change. Added test that extends shared dataspaces. Dynamically allocate arrays in shared message cache code. Clean up comments. Tested on windows, kagiso, smirom.
* [svn-r13126] More cleanup. Shared messages now use in-heap callbacks when ↵James Laird2007-01-091-2/+1
| | | | | | | | searching for a matching message, which should improve performance. Tested on Windows, kagiso, and smirom.
* [svn-r13119] More code cleanup. Made shared messages zero-indexed instead ofJames Laird2007-01-081-64/+59
| | | | | | one-indexed. Changed the names of some constants to be more consistent. Tested on juniper, smirom, and copper.
* [svn-r13113] Refactoring. Cleaned up code, added a few sanity checks.James Laird2007-01-051-3/+3
| | | | | | Extracted duplicated code into functions. Tested on Windows, juniper, and kagiso. Will test on copper next.
* [svn-r13108] Cleaned up some warnings.James Laird2007-01-051-22/+36
| | | | | Tested on kagiso; I have another checkin coming, after which I'll run more extensive tests. Changes are pretty minor.
* [svn-r13107] Fixed shared message indexes to clean themselves up when ↵James Laird2007-01-041-0/+162
| | | | | | | | | | | they're deleted. Creating shared messages and then deleting them should return the file to its original state. Added a test for this. Tested on Windows, smirom, and kagiso.
* [svn-r13102] Found a bug: shared message list sizes above the maximum were ↵James Laird2007-01-031-12/+32
| | | | | | | | | | | not caught. Fixed bug and a related one where the number of indexes could be set above the maximum. Added tests for both bugs. Tested on kagiso and smirom.
* [svn-r13087] Added a small test to check that SOHMs work fine when using ↵James Laird2006-12-221-3/+110
| | | | | | external links. They do. Tested on smirom, kagiso, and Windows.
* [svn-r13086] Added deletion test for shared messages. I'm not sure that ↵James Laird2006-12-221-1/+323
| | | | | | | | | | | this test is as complete as it could be, so I may add to it later. Fixed a bug in reference counting messages that are referenced by shared messages (attribute datatypes and dataspaces). Tested on mir, smirom, and Windows.
* [svn-r13083] Description:Elena Pourmal2006-12-201-8/+7
| | | | | | | | | | VMS maintenance: updated command file with the new source files; sohm test was failing on VMS due to upper case/lower case letters in constant and variable names (i.e. FILENAME vs. filename); modified the test to avoid confusion. Platforms tested: VMS server, kagiso
* [svn-r13034] Description:Quincey Koziol2006-12-081-2/+2
| | | | | | | | Take out separate memory type in the file for SOHM objects and create aliases for existing memory types for SOHM use. Tested on: FreeBSD/32 4.11 (sleipnir)
* [svn-r13013] Cleaned up some mismatched types in test/tsohm.c that were causingJames Laird2006-12-031-4/+4
| | | | | | errors on tg-login3. Tested on tg-login3.
* [svn-r13004] Much improved shared object header message test, along with ↵James Laird2006-12-011-25/+2215
| | | | | | | | | | | some bug fixes to make the test pass. These changes involve changes to the file format of SOHMs, but that's okay because nobody should have been using SOHMs yet anyway. Tested on Windows, kagiso, copper, and heping
* [svn-r12951] Fixed error on copper in 64-bit. Was using size_t when I ↵James Laird2006-11-201-3/+3
| | | | | | | | | should have been using unsigned. Tested on copper; minor change. Currently testing on juniper.
* [svn-r12938] Description:Quincey Koziol2006-11-171-2/+2
| | | | | | | | | | | | | | | | | Add src/H5Oalloc.c file forgotten in previous object header checkin Break out more object header routines into separate file (debugging routines this time). Fix "//" style comment in recent ISOHM source changes. Fix 'size_t' vs. 'unsigned' problem (visible in 64-bit testing) in recent ISOHM test changes. Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir)
* [svn-r12935] Added list-to-btree conversion, changed SOHM apis, and pushed ↵James Laird2006-11-171-71/+56
| | | | | | | | | | | SOHM table version and size information into the superblock to eliminate a read when loading it. This is a file format change, and hopefully the last one (knock on wood). Tested on kagiso and Windows (mostly just a SOHM change).
* [svn-r12905] Added test/tsohm.c, which was missed in the previous checkin. ↵James Laird2006-11-131-0/+296
Oops!