summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22480] Description:inactive/metadata_journalingQuincey Koziol2012-06-208-1326/+921
| | | | | | | | Bring changes from "trunk merging" branch back to this feature branch, to make further work on the branch easier. Tested on: N/A - this branch is not compilable currently.
* [svn-r21261] Description:Quincey Koziol2011-08-1830-2010/+1317
| | | | | | | | Synchronize metadata journaling branch with changes from trunk. Tested on: Mac OS X/32 10.6.8 (amazon) (h5committest not required on this branch)
* [svn-r19122] Description:Quincey Koziol2010-07-2211-485/+687
| | | | | | | | | | | | | | Bring metadata journaling branch closer to trunk by bringing back updates to internal error reporting macros, routines that deal with writing object header messages to the superblock extension, and some object header query routines. Also cleanups to journaling code & tests to use this code and to clean up in general. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode (h5committest not required on this branch)
* [svn-r19112] Description:Quincey Koziol2010-07-2022-117/+37
| | | | | | | | Rename H5AC_set() to H5AC_insert_entry() Get rid of H5C_set_skip_flags() & related flags Tested on: Eyeballed only, very simple...
* [svn-r18910] Description:Quincey Koziol2010-05-2742-1605/+1243
| | | | | | | | | | | | | | | Remove 'size' parameter from H5AC2_set()/H5C2_insert_entry(), to align better with trunk. Use the 'image_len' cache client callback to retrieve the size of an inserted entry. Also, add flags to the cache client class structure, to indicate several client behaviors: speculative loads & compressed storage on disk (which were previously dependent on the 'image_len' callback only being used to detect size changes during load (deserialize) operations). Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18862] Description:Quincey Koziol2010-05-2045-2099/+1443
| | | | | | | | | | | | | | | Add 'get_load_size' client callback to determine the image size for reading a metadata cache entry from the file. Remove the 'size' parameter from the H5[A]C_protect() calls. General cleanups to align with code on trunk. Tested on: Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18801] Description:Quincey Koziol2010-05-147-411/+108
| | | | | | | | | | | | Simplify testing routines a bit more by dropping unused 'dirty_insert' parameters. Also, protect global heap and resize it in the cache when extending one. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18790] Description:Quincey Koziol2010-05-1338-1663/+1272
| | | | | | | | | | Remove the size parameter from H5[A]C_unprotect() and the H5[A]C__SIZE_CHANGED_FLAG, switching all clients & tests over to using H5[A]C_resize_entry appropriately. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug & prod Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18739] Description:Quincey Koziol2010-05-071-5/+5
| | | | | | | | Correct test for resizing protected entries to check results correctly. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode (h5committest not required on this branch)
* [svn-r18737] Description:Quincey Koziol2010-05-0614-1083/+476
| | | | | | | | | | | Switch H5AC_resize_pinned_entry() to work on protected entries as well, and rename to H5AC_resize_entry() Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18723] Description:Quincey Koziol2010-05-0622-600/+484
| | | | | | | | Rename H5[A]C_rename to H5[A]C_move_entry. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug & production Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18719] Description:Quincey Koziol2010-05-061-21/+5
| | | | | | | Correct some sanity checks in test code. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18718] Description:Quincey Koziol2010-05-0618-548/+99
| | | | | | | | | | | Rename H5[A]C_mark_pinned_or_protected_entry_dirty() to H5[A]C_mark_entry_dirty() and get rid of H5[A]C_mark_pinned_entry_dirty(). Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18714] Description:Quincey Koziol2010-05-0530-419/+277
| | | | | | | | | | Simplify parameters to 'deserialize' cache client callback. Tested on: Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18711] Description:Quincey Koziol2010-05-0551-63213/+194
| | | | | | | | | | | | More changes to move metadata journaling code closer to trunk: - Retire old (H5AC1) cache code & tests - Remove 'clear_dirty_bits' callback from client class struct - Eliminate 'addr' & 'len' parameters from 'free_icr' client callbacks Tested on: Mac OS X/32 10.6.3 (amazon) debug & production Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18671] Description:Quincey Koziol2010-04-2918-196/+152
| | | | | | | | | | Mostly minor code cleanups and reformatting to better set up udata parameters when protecting metadata cache entries. Also, some changes to better align with state of code on the trunk. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18569] Desription:Quincey Koziol2010-04-155-4/+5
| | | | | | | | | Fix a problem in the metadata accumulator code and clean up a few compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18541] Description:Quincey Koziol2010-04-1017-140/+169
| | | | | | | | Bring further into alignment with current state of trunk. Tested on: Mac OS X/32 (10.6.3) w/debug (h5committest not required on this branch)
* [svn-r18522] Description:Quincey Koziol2010-04-064-12/+15
| | | | | | | | | | Bring metadata journaling branch into closer correspondence with trunk: extract data structure freeing routines from metadata cache client 'destroy' callbacks. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18518] Description:Quincey Koziol2010-04-064-21/+27
| | | | | | | | | | Bring metadata journaling branch into closer correspondence with trunk: extract data structure freeing routines from metadata cache client 'destroy' callbacks. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18500] Description:Quincey Koziol2010-04-025-54/+50
| | | | | | | | | Extract data structure 'destroy' routines from metadata cache client 'destroy' callbacks. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18496] Description:Quincey Koziol2010-04-025-33/+58
| | | | | | | | | Extract data structure 'destroy' routines from metadata cache client 'destroy' callbacks. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18490] Description:Quincey Koziol2010-04-0110-190/+222
| | | | | | | | Cleanups & renamings for extracted data structure 'destroy' routines. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug, production & parallel (h5commit not required on this branch)
* [svn-r18482] Description:Quincey Koziol2010-04-013-43/+1
| | | | | | | | Remove unused symbol table entry dirty flag. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug, production & parallel (h5committest not required on this branch)
* [svn-r18458] Description:Quincey Koziol2010-03-2522-2004/+1656
| | | | | | | | More convergence of the metadata journaling branch toward to the trunk. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug, prod & parallel (h5committest not required on this branch)
* [svn-r18453] Description:Quincey Koziol2010-03-252-3/+3
| | | | | | | Revert Mac-related change (to disable aio_fsync() calls). Tested on: None - eyeballed only, too minor to require testing
* [svn-r18452] Description:Quincey Koziol2010-03-25194-21728/+21718
| | | | | | | | | | Finish renaming cache-related files & symbols on metadata journaling branch. Metadata cache-related symbols/files with no suffix now have a '1' suffix and symbols/files with a '2' suffix now have no suffix. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug, prod & parallel (h5committest not required on this branch)
* [svn-r18426] Description:Quincey Koziol2010-03-18139-40125/+19258
| | | | | | | | Rename "old" cache code and routines from H5AC to H5AC1. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug, prod & parallel (h5committest not required on this branch)
* [svn-r18371] Interim checkin of AIO journal write code.John Mainzer2010-03-0516-3261/+7222
| | | | | | | | | | | | | | Added code allowing async journal entry writes for metadata journaling, along with associated test code. At present, the code compiles and passes tests under Linux and Solaris. code compiles under MacOS, but usually locks up the host machine under test. code fails to compile under BSD. no other platforms tested.
* [svn-r18228] Description:Quincey Koziol2010-02-116-2234/+1804
| | | | | | | | | | Diff reduction against v1 cache code, along with bringing in some very minor changes to the v1 cache code that weren't brought over to the v2 cache code. Tested on: Mac OS X/32 10.6.2 (amazon) debug & prod (h5committest not required on this branch)
* [svn-r18227] Description:Quincey Koziol2010-02-113-2445/+2451
| | | | | | | | | Small cleanups and move v1 cache maintenance macros into package header file, to better align with changes to v2 cache. Tested on: Mac OS X/32 10.6.2 (amazon) debug & production (h5committest not required on this branch)
* [svn-r18195] Description:Quincey Koziol2010-01-30341-19337/+19337
| | | | | | | Remove trailing whitespace from source code files. Tested on: None - just eyeballed
* [svn-r18168] Description:Quincey Koziol2010-01-2610-751/+365
| | | | | | | | | | | | Code cleanups for better alignment with trunk, along with style issues, etc. Also, get journal test files to work correctly when using a srcdir build. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug, production & parallel (h5committest not required on this branch)
* [svn-r18105] Description:Quincey Koziol2010-01-127-24/+20
| | | | | | | | | Minor brush-clearing changes to converge metadata_journaling branch and trunk. Tested on: Mac OS X/32 10.6.2 (amazon) debug & prod (h5committest not required on this branch)
* [svn-r18070] Description:Quincey Koziol2010-01-078-172/+303
| | | | | | | | | Various tweaks, upgrades & corrections from merging the local heap changes on this branch back to the trunk. Tested on: Mac OS X/32 10.6.2 (amazon) debug & prod (h5committest not required on this branch)
* [svn-r18043] Description:Quincey Koziol2009-12-209-288/+291
| | | | | | | | | | Slush changes back & forth between trunk, the merging branch and the metadata journaling branch to level them out to a reasonably common set of code to work from for the next set of more significant changes. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug (h5committest not required on this branch)
* [svn-r18040] Description:Quincey Koziol2009-12-191-0/+1
| | | | | | | Whitespace cleanup. Tested on: None - eyeballed only.
* [svn-r18036] Description:Quincey Koziol2009-12-1915-624/+475
| | | | | | | | | Code cleanups to remove compile warnings and improve the style of changes. Tested on: Mac OS X/32 10.6.2 (amazon) debug & production (h5committest not required on this branch)
* [svn-r18029] Description:Quincey Koziol2009-12-1763-2791/+983
| | | | | | | | Code cleanups & tweaks to converge branch toward trunk. Tested on: Mac OS X/32 10.6.2 (amazon) debug & production (h5committest not required on this branch)
* [svn-r17202] Removed duplicate line.Larry Knox2009-07-201-1/+0
| | | | Ran chkmanifest on jam.
* [svn-r17046] Added new binary journal file sanity check files to the ↵John Mainzer2009-06-121-0/+29
| | | | | | | | manifest -- forgot to do this on my last checkin. Testing -- ran bin/chkmanifest
* [svn-r17028] Added binary journal file support and related tests.John Mainzer2009-06-1145-1602/+7497
| | | | | | | | | Removed a bunch of debug code. Other minor changes. Did only limited testing -- just build and test on Phoenix (AMD64 linux with debug).
* [svn-r16753] Forgot to update the manifest prior to my last checkin -- ↵John Mainzer2009-04-151-0/+156
| | | | | | fixing that now tested by running chkmanifest
* [svn-r16726] Fix for the source dir build bug that Quincey discovered.John Mainzer2009-04-101-2/+2
| | | | Tested only on Phoenix -- serial source dir and in place builds.
* [svn-r16714] Description:Quincey Koziol2009-04-089-292/+68
| | | | | | | | | | Clean up code, remove unused variables, remove "naked" printf()s, make h5recover test script work in 'srcdir' build, etc. (The h5recover tests are failing still and the script prints "PASSED" when it doesn't, but we'll work on that more next) Tested on: Mac OS X/32 10.5.6 (amazon)
* [svn-r16670] Interrim checkin of journal file modifications supporting ↵John Mainzer2009-04-04199-2229/+10063
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recognition and rejection of attempts to apply the wrong journal file to a corrupt HDF5 file. Specifically, I made the following changes: 1) Moved all journaling data into the journaling in progress superblock extension message. 2) Added a "magic number" to the journaling in progress message, with the same "magic number being added to the header of the associated journal file. 3) Modifications to library test code to support the above. 4) Modified h5recover to examine the supplied hdf5 file, determine if it is in fact a HDF5 file, if so determine if it is marked as having journaling in progress, and if it does, extract the contents of the journaling in progress super block extension message. 5) Modified h5recover to examine the supplied journal file, determine if it is in fact a HDF5 journal file, and if so, extract the data from its header. 6) Modified h5recover to refuse to apply the supplied journal file to the supplied HDF5 file unless the "magic numbers" obtained from these files matches. 7) Added an examine option to h5recover that causes it to examine and report on the supplied files, but do nothing. This option exists primarily to facilitate testing, but I expect that some users will find it useful as well. 8) Added test code to exercise items 4-7. Note that while I have tried to cover the more likely cases, this test code is extremely cursory. In particular, the code to examine the supplied HDF5 file is barely tested at all. Need a library of HDF5 files exibiting the full range of possible super block and super block extension message structures to test this properly. 9) In passing, tighened up the code that controls dumps of "possibly significant" differences between the contents of the control and recovered data sets in the h5recover. It should now ignore one integer matches in what appears to be garbage raw data. Tested: serial and parallel on Phoenix serial and parallel on Jam serial on Linew serial on Liberty All tests were done in debug mode.
* [svn-r16455] Removed a bunch of test code from src/H5system.c. John Mainzer2009-02-091-115/+16
| | | | | Tested only on Phoenix (serial Linux AMD64) as changes were minor, and any errors should be caught in the next checkin.
* [svn-r16384] Added examples/mdj_api_example.c -- which I neglected to do ↵John Mainzer2009-01-301-0/+721
| | | | | | prior to the last checkin.
* [svn-r16383] A number of items, mostly related to the use of the core file ↵John Mainzer2009-01-3013-52/+2078
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | driver in metadata cache tests. 1) Fixed the core file driver failures previously observed on some platforms when running the cache2 tests with the core file driver enabled. This was done by allocating all needed memory on file open. 2) Added code to cache2.c to allow the use of the core file driver to be forced via the HDF5_DRIVER environment variable. 3) Added code to try to figure out whether using the core file driver in cache2 makes sense, and then use it or not as seems appropriate unless overridden via the HDF5_DRIVER environment variable. This code only works under Linux and BSD (including MacOS). For now at least, we use regular files in all other cases unless directed otherwise. Note that this required a fair bit of configuration code massage. 4) Updated Makefile.am in examples to run the new mdj_api_example.c example. Forgot to "svn add mdj_api_example.c" before this checkin, but will do so shortly. Tested on: Duty (serial), Liberty (serial), tejeda (serial), jam (serial and parallel), and Phoenix (serial and parallel). Note that Phoenix is now 64 bit AMD64 Linux.
* [svn-r16265] Update MANIFEST and version in windows pubconf header file, in ↵Quincey Koziol2009-01-052-3/+4
| | | | metadata journaling branch