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/H5FDpublic.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/H5FDpublic.h')
-rw-r--r-- | src/H5FDpublic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h index 596e0f1..6606b80 100644 --- a/src/H5FDpublic.h +++ b/src/H5FDpublic.h @@ -43,6 +43,11 @@ typedef enum H5FD_mem_t { H5FD_MEM_NTYPES /*must be last*/ } H5FD_mem_t; +/* Map "block tracker" header blocks to 'ohdr' type file memory, since its + * a fair amount of work to add a new kind of file memory, they are similar + * enough to object headers and probably too minor to deserve their own type. -QAK */ +#define H5FD_MEM_BLKTRK H5FD_MEM_OHDR + /* * A free-list map which maps all types of allocation requests to a single * free list. This is useful for drivers that don't really care about |