diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-14 02:50:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-14 02:50:11 (GMT) |
commit | 89f36d62b776ef955eed82a109b83a187ef115bb (patch) | |
tree | 4a8276f4a9ef5e614e9b829931d1094b9346e6d9 /src/H5HFhuge.c | |
parent | c4a5b8e16cdf66d1cf4b70587a6747f03557b2ef (diff) | |
download | hdf5-89f36d62b776ef955eed82a109b83a187ef115bb.zip hdf5-89f36d62b776ef955eed82a109b83a187ef115bb.tar.gz hdf5-89f36d62b776ef955eed82a109b83a187ef115bb.tar.bz2 |
[svn-r12575] Description:
Allow the heap ID length to be chosen at heap creation time, to allow
for making heap IDs long enough to directly embed the file offset & length
of 'huge' objects in the heap ID (which allows them to be retrieved directly
from disk, instead of requiring them to be looked up in the B-tree that tracks
'huge' objects)
Tested on:
FreeBSD/32 4.11 (sleipnir)
Linux/64 2.4 (mir)
Solaris/64 9 (shanti)
Diffstat (limited to 'src/H5HFhuge.c')
-rw-r--r-- | src/H5HFhuge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5HFhuge.c b/src/H5HFhuge.c index ca256e6..7a47dba 100644 --- a/src/H5HFhuge.c +++ b/src/H5HFhuge.c @@ -158,6 +158,9 @@ H5HF_huge_init(H5HF_hdr_t *hdr) /* Check if we can completely hold the 'huge' object's offset & length in * the file in the heap ID (which will speed up accessing it) */ +#ifdef QAK +HDfprintf(stderr, "%s: hdr->id_len = %u\n", "H5HF_huge_init", (unsigned)hdr->id_len); +#endif /* QAK */ if((hdr->sizeof_addr + hdr->sizeof_size) <= (hdr->id_len - 1)) { /* Indicate that v2 B-tree doesn't have to be used to locate object */ hdr->huge_ids_direct = TRUE; |