diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-22 00:03:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-22 00:03:37 (GMT) |
commit | cab5c372bfc34773014c13a38ca8dc30d5a89441 (patch) | |
tree | 4d45ce180a967261d3416590749389b65e4f0b6c /src/H5Dpkg.h | |
parent | cf7f31f0c6deccc787291205dabed9b11fc8feee (diff) | |
download | hdf5-cab5c372bfc34773014c13a38ca8dc30d5a89441.zip hdf5-cab5c372bfc34773014c13a38ca8dc30d5a89441.tar.gz hdf5-cab5c372bfc34773014c13a38ca8dc30d5a89441.tar.bz2 |
[svn-r20135] Description:
Bring r20134 from metadata journaling merging branch to trunk:
Bring changes from metadata journaling branch to "merging" branch:
Unify routine to mark a dataset's metadata as changed.
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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r-- | src/H5Dpkg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h index 44b44d9..84e05cf 100644 --- a/src/H5Dpkg.h +++ b/src/H5Dpkg.h @@ -65,6 +65,10 @@ #define H5D_CHUNK_HASH(D, ADDR) H5F_addr_hash(ADDR, (D)->cache.chunk.nslots) +/* Flags for marking aspects of a dataset dirty */ +#define H5D_MARK_SPACE 0x01 +#define H5D_MARK_LAYOUT 0x02 + /****************************/ /* Package Private Typedefs */ @@ -543,6 +547,7 @@ H5_DLL herr_t H5D_check_filters(H5D_t *dataset); H5_DLL herr_t H5D_set_extent(H5D_t *dataset, const hsize_t *size, hid_t dxpl_id); H5_DLL herr_t H5D_get_dxpl_cache(hid_t dxpl_id, H5D_dxpl_cache_t **cache); H5_DLL herr_t H5D_flush_sieve_buf(H5D_t *dataset, hid_t dxpl_id); +H5_DLL herr_t H5D_mark(H5D_t *dataset, hid_t dxpl_id, unsigned flags); /* Functions that perform direct serial I/O operations */ H5_DLL herr_t H5D_select_read(const H5D_io_info_t *io_info, |