summaryrefslogtreecommitdiffstats
path: root/src/H5B2pkg.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2012-09-13 19:18:45 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2012-09-13 19:18:45 (GMT)
commit495b8de00214c9f99d6f10fd91de0feef55cefa8 (patch)
tree3b4b59b6de32b179aa2cb0c67e6ca739b89c47af /src/H5B2pkg.h
parent4e44c3b7e27e3cd76d148bc5158a17d747aeea62 (diff)
downloadhdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.zip
hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.gz
hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.bz2
[svn-r22761] Purpose: Fix testswmr failures
Description: Patched H5B2 shadowed list implementation to remove nodes from the shadowed list when they are evicted, and added some missing initializations. Also removed inadvertent temporary changes to the tests that disabled srandom, added assertions and fixed formatting. Tested: ummon
Diffstat (limited to 'src/H5B2pkg.h')
-rw-r--r--src/H5B2pkg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h
index 96ef54f..eb7d833 100644
--- a/src/H5B2pkg.h
+++ b/src/H5B2pkg.h
@@ -193,6 +193,7 @@ typedef struct H5B2_leaf_t {
uint8_t *leaf_native; /* Pointer to native records */
uint16_t nrec; /* Number of records in node */
struct H5B2_leaf_t *shadowed_next; /* Next node in shadowed list */
+ struct H5B2_leaf_t *shadowed_prev; /* Previous node in shadowed list */
} H5B2_leaf_t;
/* B-tree internal node information */
@@ -208,6 +209,7 @@ typedef struct H5B2_internal_t {
uint16_t nrec; /* Number of records in node */
uint16_t depth; /* Depth of this node in the B-tree */
struct H5B2_internal_t *shadowed_next; /* Next node in shadowed list */
+ struct H5B2_internal_t *shadowed_prev; /* Previous node in shadowed list */
} H5B2_internal_t;
/* v2 B-tree */