summaryrefslogtreecommitdiffstats
path: root/src/H5HFhdr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-22 17:13:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-22 17:13:17 (GMT)
commitdfd71ce12683526f1fdb6abeb43d4a1a107cfe49 (patch)
tree609ee7979f4a4e6732c36f41817e071e17a8764e /src/H5HFhdr.c
parent058eb9921de06d297f80f2f633fb6638fd8d6f68 (diff)
downloadhdf5-dfd71ce12683526f1fdb6abeb43d4a1a107cfe49.zip
hdf5-dfd71ce12683526f1fdb6abeb43d4a1a107cfe49.tar.gz
hdf5-dfd71ce12683526f1fdb6abeb43d4a1a107cfe49.tar.bz2
[svn-r12610] Description:
Add support for checksumming fractal heaps. This is always enabled for the heap header and indirect blocks (as they are "pure" metadata) and is optional for direct blocks, since they may be used for "raw" data. Also, rearrange direct block routines in H5HFcache.c to be in a more sensible location in the file. (probably should have been a separate checkin, since the diffs are mostly useless for this checkin... *sigh*) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5HFhdr.c')
-rw-r--r--src/H5HFhdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5HFhdr.c b/src/H5HFhdr.c
index e239aeb..5b9022c 100644
--- a/src/H5HFhdr.c
+++ b/src/H5HFhdr.c
@@ -393,6 +393,7 @@ H5HF_hdr_create(H5F_t *f, hid_t dxpl_id, const H5HF_create_t *cparam)
/* Set the creation parameters for the heap */
hdr->max_man_size = cparam->max_man_size;
+ hdr->checksum_dblocks = cparam->checksum_dblocks;
HDmemcpy(&(hdr->man_dtable.cparam), &(cparam->managed), sizeof(H5HF_dtable_cparam_t));
/* Set root table address to indicate that the heap is empty currently */