summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-08-18 18:25:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-08-18 18:25:49 (GMT)
commitebde7af78ab5cfacc8a55105f1de0e53ccffa5a4 (patch)
treebded46cf03fd13d3311cd959dcb9b091e7379dca /testpar/t_cache.c
parent339471fe0d38ce9527c6c6a91f9a9cfb3810bb9c (diff)
downloadhdf5-ebde7af78ab5cfacc8a55105f1de0e53ccffa5a4.zip
hdf5-ebde7af78ab5cfacc8a55105f1de0e53ccffa5a4.tar.gz
hdf5-ebde7af78ab5cfacc8a55105f1de0e53ccffa5a4.tar.bz2
[svn-r17374] Description:
Bring r17365 from trunk to 1.8 branch: Final merge of changes from sblock_mdc branch back to trunk. The superblock is now managed by the metadata cache. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committest performed on trunk)
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index ed3110a..f8ecefa 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -703,6 +703,10 @@ addr_to_datum_index(haddr_t base_addr)
* JRM -- 2/4/09
* Added initialization for the cleared and flushed fields.
*
+ * Mike McGreevy, July 2, 2009
+ * Changed base address from 0 to 512 since the superblock will
+ * always be at address 0.
+ *
*****************************************************************************/
static void
@@ -723,7 +727,7 @@ init_data(void)
1974, 3194, 5168, 8362, 13539};
int i;
int j = 0;
- haddr_t addr = 0;
+ haddr_t addr = 512;
/* this must hold so renames don't change entry size. */
HDassert( (NUM_DATA_ENTRIES / 2) % 20 == 0 );