diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-11 00:44:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-11 00:44:03 (GMT) |
commit | 5b7ebc2ff95e1dea0bd9517e360b7af98dbd0a4d (patch) | |
tree | 14e1c52be4efa2294208450fb6fe778cafddf6cd /src/H5ACprivate.h | |
parent | 134d7ed4f0de170ab361a6a88622cead5a49dd84 (diff) | |
download | hdf5-5b7ebc2ff95e1dea0bd9517e360b7af98dbd0a4d.zip hdf5-5b7ebc2ff95e1dea0bd9517e360b7af98dbd0a4d.tar.gz hdf5-5b7ebc2ff95e1dea0bd9517e360b7af98dbd0a4d.tar.bz2 |
[svn-r10184] Purpose:
New feature
Description:
Add new "block tracker" data structure to library, for tracking blocks of
bytes in a file. Block trackers will be used to keep track of the blocks
belonging to the soon-to-be-implemented "segmented heap" which is designed to
replace the current local & global heaps (starting with the local heap).
Block trackers will also keep track of the free space in the segmented heap
and someday could be used to track the free space in the entire HDF5 file.
They are implemented as a small header of information to cache the state
of the blocks (max & min sizes of blocks tracked, etc.) and the records of
the blocks themselves are stored in a v2 B-tree.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Solaris 2.9 (shanti)
h5committest
Diffstat (limited to 'src/H5ACprivate.h')
-rw-r--r-- | src/H5ACprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h index 44bd862..bdfc57b 100644 --- a/src/H5ACprivate.h +++ b/src/H5ACprivate.h @@ -47,7 +47,8 @@ #define H5AC_BT2_HDR_ID 5 /*v2 B-tree header */ #define H5AC_BT2_INT_ID 6 /*v2 B-tree internal node */ #define H5AC_BT2_LEAF_ID 7 /*v2 B-tree leaf node */ -#define H5AC_NTYPES 8 +#define H5AC_BLTR_ID 8 /*block tracker */ +#define H5AC_NTYPES 9 /* H5AC_DUMP_STATS_ON_CLOSE should always be FALSE when * H5C_COLLECT_CACHE_STATS is FALSE. |