summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative_file.c
Commit message (Collapse)AuthorAgeFilesLines
* Clang-format of source filesAllen Byrne2020-09-301-556/+509
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-5/+5
|
* Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-2/+2
| | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-3/+3
|
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the va_list, so it's at least possible for another connector to know what the operation is and decide whether to implement it or not. Added a new VOL sub-class called "introspect" where callbacks that report information about the connector or container can be placed. Added an 'opt_query' callback to this sub-class, for a connector to report back to the library whether a particular optional callback operation is supported. Also added a 'get_conn_cls' introspection callback, to retrieve the H5VL_class_t of a connector (either the "current" connector, H5VL_GET_CONN_LVL_CURR, or the terminal connector, H5VL_GET_CONN_LVL_TERM). Moved the "post open" operation from a file 'specific' operation to a file 'optional' operation, now that it's possible to detect (with the 'opt_query' introspection callback) whether a VOL connector implements an optional operation, without just returning an error. Added new internal VOL helper routines: H5VL_object_is_native, to determine if an object is in (or is a) native file, and H5VL_file_is_same, to determine if two objects are in (or are) the same terminal VOL connector's container. (And moved the special handling for FILE_IS_EQUAL operation out of internal VOL callback routine into H5VL_file_is_same) Made new dataset 'get' operation for H5Dvlen_get_buf_size, aligning it better with other 'get' operations in API. Fixed several issues with pass-through connectors, which are now passing the 'make check-passthrough-vol' tests again. A bunch of warning and style cleanups as well.
* Minor tweaks noticed while going over VOL documentation.Dana Robinson2019-12-061-4/+4
|
* Implement file comparison VOL callback. Other changes to allowNeil Fortner2019-11-271-0/+13
| | | | | references to work with non-native connectors. There is a bug somewhere.
* Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILEJerome Soumagne2019-11-271-14/+0
| | | | Remove H5F__get_file_id() and use only private routine instead
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-0/+9
| | | | | | | | | | | location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
* Add new H5R API that abstracts object, region and attribute reference typesJerome Soumagne2019-10-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also support references to external files Add new H5T_REF type and type conversion routines Support conversion from H5T_REF_OBJ/DSET_REG to H5T_REF Add H5Treclaim() API to reclaim memory of vlen/reference types Deprecate H5Dvlen_reclaim() Fix H5T_vlen_reclaim() and H5T_reclaim() to use private callback Add H5T_ref_reclaim() Move previous H5R APIs to H5Rdeprec.c Clean up H5Ocopy Separate H5O_copy_expand_ref() to H5Ocopy_ref() Add support for copying new reference types Clean up deprecated routines to go through VOL and same code path Fix return codes in existing trefer.c test Rename trefer.c to trefer_deprec.c trefer.c is for new references Add performance test for trefer Add additional obj_copy_ref test Make use of tokens and blobs to store references Skip blob encoding for object references Start adding new reference examples
* Adapt Jerome's "file info" H5VL 'get' query to retrieve container token info.Quincey Koziol2019-10-081-37/+49
| | | | Remove "by address" location for VOL operations. (Switching to "by token")
* Corrected missing parallel #ifdefs.Dana Robinson2019-09-271-0/+2
|
* Marked up H5Fget/set_mpi_atomicity() to use the VOL.Dana Robinson2019-09-271-0/+18
|
* Fix H5F_get_file_id and H5F__get_file_id to take app_ref parameterJerome Soumagne2019-08-141-1/+2
| | | | Fix app_ref_count from being incremented when private routines are used
* Added H5Fdelete call and VOL support (but no VFD/native implementation).Dana Robinson2019-06-111-1/+7
|
* Add H5Fget_fileno() API routine.Quincey Koziol2019-04-121-0/+13
|
* C and POSIX call cleanupDana Robinson2019-01-111-2/+2
|
* Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-281-3/+3
|\
| * Squash merge of MDC logging changes.Dana Robinson2018-12-211-3/+3
| |
* | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-271-0/+19
|/
* Moved private native VOL connector functions to H5VLnative_private.h.Dana Robinson2018-12-201-1/+1
|
* Moved the remainder of the code into separate files.Dana Robinson2018-12-201-0/+798
|
* Split the native VOL connector code into multiple files andDana Robinson2018-12-201-0/+13
moved the attribute code over.