diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-11-11 21:10:30 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-11-11 21:10:30 (GMT) |
commit | 1b8033b5946e43613c98f40fb23282bdc4b49d0a (patch) | |
tree | 94fa65f7e96e6e2b5c982a680f729de0c75f9f30 /src/H5ACprivate.h | |
parent | a32d6d79a3f1e30401aa7077949ff4c38e967587 (diff) | |
download | hdf5-1b8033b5946e43613c98f40fb23282bdc4b49d0a.zip hdf5-1b8033b5946e43613c98f40fb23282bdc4b49d0a.tar.gz hdf5-1b8033b5946e43613c98f40fb23282bdc4b49d0a.tar.bz2 |
[svn-r19765] Purpose:
fix a few minor issues related to flush/refresh code
Description:
- Replaced the globality macros with an enum typedef, to
better encapsulate of the values that can be assigned
to the variable.
- Combined 'tag' and 'globality' properties into a single
property by creating a new structure housing both values,
since they are always accessed at the same time anyways.
- Added an extra parameter check to H5Tflush/H5Trefresh
routines to make sure the supplied datatype is a committed
datatype.
- Renamed and reworked some code to move "metadata" (H5AC)
specific things out of the generic cache (H5C) level of code.
Tested:
h5committest
Diffstat (limited to 'src/H5ACprivate.h')
-rw-r--r-- | src/H5ACprivate.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h index 2c1e383..2987c16 100644 --- a/src/H5ACprivate.h +++ b/src/H5ACprivate.h @@ -213,11 +213,6 @@ typedef H5C_t H5AC_t; #define H5AC_LIBRARY_INTERNAL_DEF 0 #endif /* H5_HAVE_PARALLEL */ -/* Definitiions for "metadata tag" property */ -#define H5AC_METADATA_TAG_NAME "H5AC_metadata_tag" -#define H5AC_METADATA_TAG_SIZE sizeof(haddr_t) -#define H5AC_METADATA_TAG_DEF H5AC__INVALID_TAG - /* Dataset transfer property list for flush calls */ /* (Collective set, "block before metadata write" set and "library internal" set) */ /* (Global variable declaration, definition is in H5AC.c) */ |