summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-08-17 13:29:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-08-17 13:29:01 (GMT)
commit0949a25c13b4fa4e139b96eb0355d1ce0111e312 (patch)
treee4731d5f36b46c6c7d14ca9327b0b4578388ca51 /src/H5Fpkg.h
parent9f779228f94af8c653ade6d13f0eed95be4f9551 (diff)
downloadhdf5-0949a25c13b4fa4e139b96eb0355d1ce0111e312.zip
hdf5-0949a25c13b4fa4e139b96eb0355d1ce0111e312.tar.gz
hdf5-0949a25c13b4fa4e139b96eb0355d1ce0111e312.tar.bz2
[svn-r19248] Description:
Bring r19247 from trunk to 1.8 branch: Bring r19246 from Coverity branch to trunk: Improve metadata "accumulator" for files to track the dirty region within the accumulator data. This allows the accumulator to drop clean data and reduces the number of I/O operations when it is dirtied. This is progress toward Bz#1142 - speeding up the fheap test (which it doesn't help much, actually, but it does help other aspects of file I/O). Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
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 33c56f9..091a0d7 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -140,6 +140,8 @@ typedef struct H5F_meta_accum_t {
haddr_t loc; /* File location (offset) of the accumulated metadata */
size_t size; /* Size of the accumulated metadata buffer used (in bytes) */
size_t alloc_size; /* Size of the accumulated metadata buffer allocated (in bytes) */
+ size_t dirty_off; /* Offset of the dirty region in the accumulator buffer */
+ size_t dirty_len; /* Length of the dirty region in the accumulator buffer */
hbool_t dirty; /* Flag to indicate that the accumulated metadata is dirty */
} H5F_meta_accum_t;