summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-05 18:18:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-05 18:18:56 (GMT)
commitb803308acd00ef670afd1aae57ced7ac19244013 (patch)
tree1d12997fb06c9ecef8e5fc47b88cf672652a34a9 /src/H5Fpkg.h
parent6b1208407f5886c917f1ebb38bac058eeb980e30 (diff)
downloadhdf5-b803308acd00ef670afd1aae57ced7ac19244013.zip
hdf5-b803308acd00ef670afd1aae57ced7ac19244013.tar.gz
hdf5-b803308acd00ef670afd1aae57ced7ac19244013.tar.bz2
[svn-r5538] Purpose:
Code improvement. Description: Added boot block and driver info block checksumming feature to the shared file information. This prevents these blocks from being written out multiple times when they haven't changed. This reduces the number of I/O operations which hit the disk for my test program from 15 to 14 (i.e. from 393 to 14, overall). Platforms tested: Solaris 2.7 (arabica) w/FORTRAN and FreeBSD 4.5 (sleipnir) w/C++
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 30439b4..6f034b6 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -98,6 +98,8 @@ typedef struct H5F_file_t {
haddr_t base_addr; /* Absolute base address for rel.addrs. */
haddr_t freespace_addr; /* Relative address of free-space info */
haddr_t driver_addr; /* File driver information block address*/
+ unsigned boot_chksum; /* Boot block checksum */
+ unsigned drvr_chksum; /* Driver info block checksum */
struct H5AC_t *cache; /* The object cache */
hid_t fcpl_id; /* File creation property list ID */
int mdc_nelmts; /* Size of meta data cache (elements) */