diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-02-12 01:13:39 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-02-12 01:13:39 (GMT) |
commit | 34508f0620363d90ef3f76b314d52e4b01c20a81 (patch) | |
tree | af8054ab51fc5f4cc495882df9ed4343960586b9 /src/H5C.c | |
parent | 65a820ae8981a84fe7fbac87c48482e9f82b35f4 (diff) | |
parent | fa83ab9f7c7dd7966f475932325b5e3740810cfd (diff) | |
download | hdf5-34508f0620363d90ef3f76b314d52e4b01c20a81.zip hdf5-34508f0620363d90ef3f76b314d52e4b01c20a81.tar.gz hdf5-34508f0620363d90ef3f76b314d52e4b01c20a81.tar.bz2 |
Merge in latest from develop
Diffstat (limited to 'src/H5C.c')
-rw-r--r-- | src/H5C.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -327,6 +327,7 @@ H5C_create(size_t max_cache_size, /* Tagging Field Initializations */ cache_ptr->ignore_tags = FALSE; + cache_ptr->num_objs_corked = 0; cache_ptr->slist_changed = FALSE; cache_ptr->slist_len = 0; @@ -7700,6 +7701,8 @@ H5C_cork(H5C_t *cache_ptr, haddr_t obj_addr, unsigned action, hbool_t *corked) /* Set the corked status for the entire object */ tag_info->corked = TRUE; + cache_ptr->num_objs_corked++; + } /* end if */ else { /* Sanity check */ @@ -7711,6 +7714,7 @@ H5C_cork(H5C_t *cache_ptr, haddr_t obj_addr, unsigned action, hbool_t *corked) /* Set the corked status for the entire object */ tag_info->corked = FALSE; + cache_ptr->num_objs_corked--; /* Remove the tag info from the tag list, if there's no more entries with this tag */ if(0 == tag_info->entry_cnt) { |