summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r28002] merge from trunk.inactive/avoid_truncateMohamad Chaarawi2015-10-081-1/+79
|\
| * [svn-r27835] Description:Quincey Koziol2015-09-211-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * | [svn-r27528] Modify printf implementation to not open source datasets that ↵Neil Fortner2015-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | were previously opened when calculating the VDS extent, instead assuming they still exist. Tested: ummon
| * | [svn-r27397] Merge revisions 27255 through 27393 from trunk to vds branch.Neil Fortner2015-07-151-5/+5
| |\ \ | | | | | | | | | | | | Tested: ummon
| * | | [svn-r27284] Modify VDS implementation to always use FAPL and DAPL from VDS ↵Neil Fortner2015-06-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file and dataset to open source files and datasets, instead of using the default property lists. Modify VDS to reject attempts at parallel I/O, fix parallel compile error. Modify VDS to not write fill value to memory buffer if the fill value is undefined. Other minor fixes/cleanup. Tested: ummon
| * | | [svn-r27256] Merge revisions 27102 through 27255 from trunk to vds branch.Neil Fortner2015-06-191-1/+3
| |\ \ \ | | | | | | | | | | | | | | | Tested: ummon
| * | | | [svn-r27215] Fix issue where % characters could not be used in non-printf ↵Neil Fortner2015-06-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mappings. Other minor fixes/cleanup. Tested: ummon
| * | | | [svn-r27197] Improve performance of "printf" VDS with selections in the file ↵Neil Fortner2015-06-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | space - the library no longer iterates over all source datasets in the printf mapping, it now only looks at the ones that could be involved in I/O (the ones whose bounds overlap with the selection in the unlimited dimension). Tested: ummon
| * | | | [svn-r27192] Improve support for printf selections (support partial blocks withNeil Fortner2015-06-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H5_VDS_FIRST_MISSING) Add test for this Rework VDS code to not depend on unlimited selections having a "clipped" state in preparation for removing the clipped state from unlimited selections. Other bug fixes/cleanup Tested: Kubuntu 64 (home computer)
| * | | | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * | | | | [svn-r27153] Implement fill value support for VDS.Neil Fortner2015-06-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add testing for this. Fix bug in printf string parsing. Add test for this. Other minor fixes/cleanup. Tested: ummon
| * | | | | [svn-r27145] Add some testing for printf-style source dataset name resolution.Neil Fortner2015-06-031-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various bug fixes, including a temporary fix for printf with FIRST_MISSING view. Other cleanup. Tested: ummon
| * | | | | [svn-r27104] Add support for printf-style source dataset name resolution.Neil Fortner2015-05-221-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passes use case test, no regression tests yet. Add functions H5Pset/get_virtual_printf_gap (not tested yet). Other minor fixes/cleanup. Tested: ummon
| * | | | | [svn-r27103] Merge revisions 26780 through 27102 from trunk to vds branch.Neil Fortner2015-05-211-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Tested: ummon
| * | | | | | [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to ↵Neil Fortner2015-05-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H5Pset/get_virtual_view and rename enum argument. Add support for AND and NOTA/NOTB operations with unlimited selections. Add some tests for unlimited selections. Other minor fixes/cleanup. Note: "clipped" status of unlimited selections is not properly updated with H5Sselect_copy. This is a deliberate omission since fixing it would take work and we are planning to eliminate the clipped status anyways. Tested: ummon
| * | | | | | [svn-r27022] Add new functions H5Pset_virtual_dataspace_bounds andNeil Fortner2015-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H5Pget_virtual_dataspace_bounds. Minor refactor of dataset initialization code to make this cleaner. Update h5_vds-percival-unlim-maxmin.c Other minor fixes/cleanup. Tested: ummon
| * | | | | | [svn-r26967] Refactor VDS unlimited dimension code to correctly handle case ↵Neil Fortner2015-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | where selections have discrete blocks and the extent is set by the minimum (untested, and there is still no way to set that preference). Tested: ummon
| * | | | | | [svn-r26962] Add support for unlimited selections to VDS code.Neil Fortner2015-04-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not tested (except for percival-unlim example) Fix percival-unlim example Other bug fixes/cleanup Tested: Fedora 64
| * | | | | | [svn-r26469] INCOMPLETE, UNWORKING CODENeil Fortner2015-03-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit progress through 3/17/15
| * | | | | | [svn-r26198] INCOMPLETE, UNWORKING CODENeil Fortner2015-02-171-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit progress through 1610 CST 2/17/15
| * | | | | | [svn-r26153] INCOMPLETE, UNWORKING CODENeil Fortner2015-02-101-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit progress through 2/10/15 at 1500 CST
* | | | | | | [svn-r27930] merge from trunk.Mohamad Chaarawi2015-10-011-3/+3
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | [svn-r27768] Description:Quincey Koziol2015-09-141-3/+3
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
| * | | | | [svn-r27292] Description:Quincey Koziol2015-06-271-5/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring 'fail if unknown always' object header message flag from the avoid_truncate branch, strengthen error checking for unknown messages, and try to catch object header code configurations at compile time (instead of runtime). Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel (h5committest forthcoming)
* | | | | [svn-r27291] Description:Quincey Koziol2015-06-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test for 'fail if unknown always' object header message flag, strengthen error checking for unknown messages, and try to catch object header code configurations at compile time (instead of runtime). Tested on: MacOSX/64 10.10.3 (amazon) w/serial (h5committest not required for this branch)
* | | | | [svn-r27289] merge from trunk.Mohamad Chaarawi2015-06-261-1/+3
|\ \ \ \ \ | |/ / / /
| * | | | [svn-r27237] Description:Quincey Koziol2015-06-181-1/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge v3 metadata cache changes to trunk. Yay! :-) Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel (daily tested on branch)
* | | | [svn-r27210] merge from trunk.Mohamad Chaarawi2015-06-161-0/+1
|\ \ \ \ | |/ / /
| * | | [svn-r27144] Description:Quincey Koziol2015-06-031-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Normalize trunk against the metadata_cache_merge branch, in preparation for merging the branch into the trunk. Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel Linux/64 2.6.x (koala) w/serial Linux/32 2.6.x (jam) w/serial & parallel
* | | [svn-r27056] merge from trunk.Mohamad Chaarawi2015-05-121-2/+2
|\ \ \ | |/ /
| * | [svn-r26843] Description:Quincey Koziol2015-04-191-2/+2
| |/ | | | | | | | | | | | | | | Minor code & warning cleanups. Tested on: MacOSX/64 10.10.2 (amazon) w/serial & parallel Linux/32 2.6.18 (jam) w/serial & parallel
* | [svn-r25988] - merge from trunkMohamad Chaarawi2015-01-201-2/+3
|\ \ | |/ | | | | | | | | - add new message flag for FAIL_IF_UNKNOWN_ALWAYS - TAG EOA extenstion message with FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE if EOA > EOF and with FAIL_IF_UNKNOWN_ALWAYS if EOA < EOF - add new tests for the above
| * [svn-r25984] change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN toMohamad Chaarawi2015-01-201-2/+2
| | | | | | | | | | | | | | | | H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. Will add a new H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS with the new avoid_truncate patch coming later. tested h5committest
* | [svn-r25973] modify the EOA extension message to not store an EOA value for ↵Mohamad Chaarawi2015-01-091-2/+2
| | | | | | | | the DEFAULT mem type.. This saves a whole 8 bytes.
* | [svn-r25942] - update multi driver to store EOFs instead of EOAs in the ↵Mohamad Chaarawi2015-01-021-12/+2
| | | | | | | | | | | | | | | | driver info message. - discard use of EOFS extension message. - update the EOA extension message to store EOAs for all the multi-types. - update h5extend tool and tests to account for the changes above.
* | [svn-r25888] - Do not create an EOA message if the driver is multi-like. ↵Mohamad Chaarawi2014-12-161-0/+1
| | | | | | | | | | | | | | | | Only the EOFS message is needed in that case. - Update the EOFS message to contain the avoid_truncate setting since it does not co-exist with the EOA message. tested on jam
* | [svn-r25610] - Store EOFs for multi VFDs in a SB extension message.Mohamad Chaarawi2014-09-241-1/+9
| | | | | | | | - update tests.
* | [svn-r25540] merge trunk into avoid_truncate branch.Mohamad Chaarawi2014-08-201-1/+1
|\ \ | |/ | | | | two tests are failing (test/mf and tools/testh5mkgrp)
| * [svn-r24087] Rename the private H5RC (reference count) module to H5UC (Use ↵Mohamad Chaarawi2013-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Count). This is needed to avoid a conflict with the Read Context object to be introduced in another Project. No impact on users, since this is a private module, and low for developers as the RC module use is very sparse in the library. Tested with h5committest.
* | [svn-r22660] Description:Quincey Koziol2012-08-101-1/+21
|\ \ | |/ | | | | | | | | | | | | | | Merge changes from trunk, up to r22659, to this branch, in preparation for review and merge back to the trunk. Tested on: Mac OSX/64 10.7.4 (amazon) w/gcc 4.7.x, C++, FORTRAN & threadsafe (h5committest not required on this branch)
| * [svn-r22171] Description:Quincey Koziol2012-03-281-1/+21
| | | | | | | | | | | | | | | | | | Bring "merge committed datatypes during H5Ocopy" feature from branch to trunk. (Also has some minor bugfixes with it) Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (h5committest coming up)
* | [svn-r22016] Purpose:Mike McGreevy2012-03-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Switch avoid_truncate from bool to enum - Enable 'EOA' message with latest format. Description: Switched the 'avoid truncate' property from a bool (on/off) to an enum with the following states (for now): H5F_AVOID_TRUNCATE_OFF : file will always be truncated at file close H5F_AVOID_TRUNCATE_EXTEND: file will only be truncated on file close if that truncation results in a smaller file. H5F_AVOID_TRUNCATE_ALL: file will never be truncated on file close. These may be renamed after RFC discussion ... This also resulted in a change in the API controlling the property, as well as the internal querying function. Also, using the latest format in a fapl when creating a file will now also trigger writing of an 'EOA' message and usage of avoid truncate feature. The default setting in this case is H5F_AVOID_TRUNCATE_EXTEND, as this will still allow files to reduce in size when space can be reclaimed. The above required some changes to expected test cases since the file format when the latest format is used now includes an 'EOA' message. A handful of the h5mkgrp test files had their locations updated, and the cache_tagging test was updated to account for superblock extension in the latest case. The change to an 'enum' required an update to the 'EOA' message, since there is no longer a one-to-one correspondence between the avoid truncate property setting and whether or not to store an EOA. As such, the avoid truncate property setting has been added into the EOA message, and a new EOA message struct created, H5O_eoa_t, to house it along with the EOA value. (message previously consisted of just the EOA value). The above change was propogated as needed, including changes made to the h5extend tool in order to account for the changes needed in acquiring the EOA value from the message stored in the superblock extension. Finally, the test file trunc_detect was renamed 'truncation' since it does more than just test truncation detection. It was also refactored to account for the enumerated setting, and divided into three distinct parts: testing of setting the avoid truncate property, testing truncation occurence, and testing truncation detection. Additionally, in passing: - Removed unused udata argument from H5FDcoordinate. - Updated trace file for H5F_avoid_truncate_t type. Tested: h5committest and manually on jam w/ check-vfd.
* | [svn-r21863] Description:Mike McGreevy2012-01-041-5/+15
|\ \ | |/ | | | | | | | | | | Merged r21409 through r21862 from trunk to avoid_truncate branch. Tested: h5committested
| * [svn-r21629] Purpose: Update fix committed in r21556Neil Fortner2011-10-201-5/+7
| | | | | | | | | | | | | | | | Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
| * [svn-r21476] The first part fix for bug HDFFV-7640: does not need to do ↵Vailin Choi2011-10-051-0/+8
| | | | | | | | | | | | H5O_move_msgs_forward() when writing attributes. h5committested. Tests are checked into the performance suite.
* | [svn-r20309] Purpose:Mike McGreevy2011-03-241-1/+4
|/ | | | | | | | | | | | | | | | | | | Interim checkin of 'avoid truncate' feature to development branch. Description: Bringing initial changes in support of 'avoid truncate' feature to a branch off the trunk. While this feature is not yet complete, I didn't want to continue working solely from a local copy. Development will continue on the branch and be merged to the trunk after thorough review and testing. Tested: While I've added and run tests of new code changes thus far, no extensive regression testing has been performed as of yet. This will be done before merging back to trunk.
* [svn-r19638] Description:Quincey Koziol2010-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Bring some of Neil's changes to help support SWMR access in the v1 B-tree code from the revise_chunks branch back to the trunk. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19587] Description:Quincey Koziol2010-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Address issue with object headers being created getting evicted from the metadata cache cache before they are completely initialized. This is done by pinning the object header in the cache until it is completely initialized and attached to a group. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19461] Purpose: Fix bug 1864Neil Fortner2010-09-211-1/+2
| | | | | | | | | | | Description: Library versions 1.6.3 and earlier contain a bug which causes them to be unable to perform certain operations on a group if that group's symbol table information is not cached in the parent group's symbol table. Versions 1.8.0 to 1.8.5 did not cache this information. Modified library to cache this information. Tested: jam, amani, heiwa (h5committest)
* [svn-r19153] Description:Quincey Koziol2010-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bring changes on Coverity branch back to trunk: r19040: Fixed coverity #440 - NULL check after dereference. We moved the NULL check up into the IF block and changed it to assertion. r19041: Maintenance: Addressed Coverity issues 441 and 449 by initializing proper variables r19042: In function H5O_chunk_protect (H5Ochunk.c): - Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value. - Free chk_proxy on error. r19043: Addressed coverity issues 442 - 448 by initializing pointers to NULL. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)