summaryrefslogtreecommitdiffstats
path: root/src/H5HFcache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-06 20:50:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-06 20:50:45 (GMT)
commitd6c27d4b4d82d794e860770f5903e84511596d19 (patch)
treeffd0b2a1dac38b61048dc8636c453125a5e365a4 /src/H5HFcache.c
parent869ed6e043dfc20b6b6dfda6728c3442ef0409be (diff)
downloadhdf5-d6c27d4b4d82d794e860770f5903e84511596d19.zip
hdf5-d6c27d4b4d82d794e860770f5903e84511596d19.tar.gz
hdf5-d6c27d4b4d82d794e860770f5903e84511596d19.tar.bz2
[svn-r13115] Description:
Allow a heap to be marked for deletion while it is still open and being accessed. (Blocks further opens though). Tested on: FreeBSD/32 6.1 (duty)
Diffstat (limited to 'src/H5HFcache.c')
-rw-r--r--src/H5HFcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c
index 880c36d..0fbafba 100644
--- a/src/H5HFcache.c
+++ b/src/H5HFcache.c
@@ -307,6 +307,7 @@ HDfprintf(stderr, "%s: Load heap header, addr = %a\n", FUNC, addr);
/* Heap status flags */
/* (bit 0: "huge" object IDs have wrapped) */
+ /* (bit 1: checksum direct blocks) */
heap_flags = *p++;
hdr->huge_ids_wrapped = heap_flags & H5HF_HDR_FLAGS_HUGE_ID_WRAPPED;
hdr->checksum_dblocks = heap_flags & H5HF_HDR_FLAGS_CHECKSUM_DBLOCKS;
@@ -491,6 +492,7 @@ HDfprintf(stderr, "%s: Flushing heap header, addr = %a, destroy = %u\n", FUNC, a
/* Heap status flags */
/* (bit 0: "huge" object IDs have wrapped) */
+ /* (bit 1: checksum direct blocks) */
heap_flags = 0;
heap_flags |= (hdr->huge_ids_wrapped ? H5HF_HDR_FLAGS_HUGE_ID_WRAPPED : 0);
heap_flags |= (hdr->checksum_dblocks ? H5HF_HDR_FLAGS_CHECKSUM_DBLOCKS : 0);