diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-05 18:18:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-05 18:18:56 (GMT) |
commit | b803308acd00ef670afd1aae57ced7ac19244013 (patch) | |
tree | 1d12997fb06c9ecef8e5fc47b88cf672652a34a9 /src/H5Fpkg.h | |
parent | 6b1208407f5886c917f1ebb38bac058eeb980e30 (diff) | |
download | hdf5-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.h | 2 |
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) */ |