summaryrefslogtreecommitdiffstats
path: root/src/H5Cpkg.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-07 18:10:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-07 18:10:02 (GMT)
commit50138c3153a0cd923b298aca99f6a353681637db (patch)
treeb6cadaa9b1bf5f53015ad00e18854e760dcb6cf5 /src/H5Cpkg.h
parent199327b417cd6d6f7e0fe9df27896885829f4f62 (diff)
parente594811caf10c66c12cad7c554854deea262d9cb (diff)
downloadhdf5-50138c3153a0cd923b298aca99f6a353681637db.zip
hdf5-50138c3153a0cd923b298aca99f6a353681637db.tar.gz
hdf5-50138c3153a0cd923b298aca99f6a353681637db.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'e594811caf10c66c12cad7c554854deea262d9cb': Merge pull request #1522 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
Diffstat (limited to 'src/H5Cpkg.h')
-rw-r--r--src/H5Cpkg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h
index 9201afb..9156c0d 100644
--- a/src/H5Cpkg.h
+++ b/src/H5Cpkg.h
@@ -3823,6 +3823,13 @@ typedef struct H5C_tag_info_t {
*
* ignore_tags: Boolean flag to disable tag validation during entry insertion.
*
+ * num_objs_corked: Unsigned integer field containing the number of objects
+ * that are "corked". The "corked" status of an object is
+ * found by searching the "tag_list". This field is added
+ * for optimization so that the skip list search on "tag_list"
+ * can be skipped if this field is zero, i.e. no "corked"
+ * objects.
+ *
* When a cache entry is protected, it must be removed from the LRU
* list(s) as it cannot be either flushed or evicted until it is unprotected.
* The following fields are used to implement the protected list (pl).
@@ -4693,6 +4700,7 @@ struct H5C_t {
/* Fields for maintaining list of tagged entries */
H5SL_t * tag_list;
hbool_t ignore_tags;
+ uint32_t num_objs_corked;
/* Fields for tracking protected entries */
uint32_t pl_len;