diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-02-11 06:50:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-02-11 06:50:20 (GMT) |
commit | 9bda1fcfd86752983d8d49232e0fb520da28dce6 (patch) | |
tree | fb8e6e68ff97b5952f0662c7d519918d593db32a /src/H5B2private.h | |
parent | ebfc303556d65d9952304995ce853fe2c3828963 (diff) | |
download | hdf5-9bda1fcfd86752983d8d49232e0fb520da28dce6.zip hdf5-9bda1fcfd86752983d8d49232e0fb520da28dce6.tar.gz hdf5-9bda1fcfd86752983d8d49232e0fb520da28dce6.tar.bz2 |
[svn-r9986] Purpose:
New feature & code cleanup
Description:
Change some references from 'keys' to 'records', which is more correct for
this implementation.
Added feature to allow preemptive 3 node record redistributions (for leaves
only currently)
Added feature to perform preemptive 3->4 node splits (for leaves only
currently)
Platforms tested:
FreeBSD 4.11 (sleipnir) w/parallel
Solaris 2.9 (shanti) w/purify
Too minor to require h5committest
Diffstat (limited to 'src/H5B2private.h')
-rw-r--r-- | src/H5B2private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5B2private.h b/src/H5B2private.h index 2635cae..51b5c2d 100644 --- a/src/H5B2private.h +++ b/src/H5B2private.h @@ -52,7 +52,7 @@ typedef enum H5B2_subid_t { H5B2_TEST_ID = 0, /* B-tree is for testing (do not use for actual data) */ H5B2_GRP_NAME_ID, /* B-tree is for group links, ordered by name */ - H5B2_NUM_BTREE_ID /* Number of B-tree key IDs (must be last) */ + H5B2_NUM_BTREE_ID /* Number of B-tree IDs (must be last) */ } H5B2_subid_t; /* @@ -61,10 +61,10 @@ typedef enum H5B2_subid_t { */ typedef struct H5B2_class_t { H5B2_subid_t id; /*id as found in file*/ - size_t nkey_size; /*size of native (memory) key*/ + size_t nrec_size; /*size of native (memory) record*/ /* Store & retrieve records */ - herr_t (*store)(const H5F_t *f, hid_t dxpl_id, const void *udata, void *nrecord); /* Store record in native key table */ + herr_t (*store)(const H5F_t *f, hid_t dxpl_id, const void *udata, void *nrecord); /* Store record in native record table */ /* Compare records, according to a key */ herr_t (*compare)(const H5F_t *f, hid_t dxpl_id, const void *rec1, const void *rec2); /* Compare two native records */ @@ -83,7 +83,7 @@ typedef struct H5B2_class_t { /* Library-private Function Prototypes */ /***************************************/ H5_DLL herr_t H5B2_create(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, - size_t node_size, size_t rkey_size, + size_t node_size, size_t rrec_size, unsigned split_percent, unsigned merge_percent, haddr_t *addr_p); H5_DLL herr_t H5B2_insert(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, |