diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-07-02 16:36:15 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-07-02 16:36:15 (GMT) |
commit | ddf9e4a4afc81c4be4ce38a13641ada81204b6ac (patch) | |
tree | efd184e9c0a5687a2927d655d7bd02e546fcfe5f /src/H5Cprivate.h | |
parent | 4cf99e9f288d42bc756f1585c72ad584620fdec9 (diff) | |
download | hdf5-ddf9e4a4afc81c4be4ce38a13641ada81204b6ac.zip hdf5-ddf9e4a4afc81c4be4ce38a13641ada81204b6ac.tar.gz hdf5-ddf9e4a4afc81c4be4ce38a13641ada81204b6ac.tar.bz2 |
[svn-r11014] Purpose:
Code cleanup
Description:
Refactor metadata cache to merge "dirtied" flag in with other flags for
H5AC_unprotect and H5C_unprotect.
Platforms tested:
FreeBSD 4.11 (sleipnir)
h5committest
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r-- | src/H5Cprivate.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h index 6ae0604..ed3f394 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -676,10 +676,13 @@ typedef struct H5C_auto_size_ctl_t #define H5C__SET_FLUSH_MARKER_FLAG 0x0001 #define H5C__DELETED_FLAG 0x0002 +/* This flag applies only to H5C_unprotect() */ +#define H5C__DIRTIED_FLAG 0x0004 + /* These flags apply to H5C_flush() & H5C_flush_single_entry() */ -#define H5C__FLUSH_INVALIDATE_FLAG 0x0004 -#define H5C__FLUSH_CLEAR_ONLY_FLAG 0x0008 -#define H5C__FLUSH_MARKED_ENTRIES_FLAG 0x0010 +#define H5C__FLUSH_INVALIDATE_FLAG 0x0008 +#define H5C__FLUSH_CLEAR_ONLY_FLAG 0x0010 +#define H5C__FLUSH_MARKED_ENTRIES_FLAG 0x0020 H5_DLL H5C_t * H5C_create(size_t max_cache_size, @@ -767,8 +770,7 @@ H5_DLL herr_t H5C_unprotect(H5F_t * f, const H5C_class_t * type, haddr_t addr, void * thing, - hbool_t dirtied, - unsigned int flags); + unsigned flags); H5_DLL herr_t H5C_validate_resize_config(H5C_auto_size_ctl_t * config_ptr, unsigned int tests); |