summaryrefslogtreecommitdiffstats
path: root/src/H5Cpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2017-10-02 16:35:59 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2017-10-02 16:35:59 (GMT)
commit9d6ba29a01079e0f81ffa530605d8cd830378f9c (patch)
tree3db9959e2002c6121c002a130dbf3965b9026a82 /src/H5Cpkg.h
parentb7e563266e8484c96d5ac75b9dcec2337bb15d43 (diff)
parent744b6b282f087ce23310805dc24ce8f8b351fb61 (diff)
downloadhdf5-9d6ba29a01079e0f81ffa530605d8cd830378f9c.zip
hdf5-9d6ba29a01079e0f81ffa530605d8cd830378f9c.tar.gz
hdf5-9d6ba29a01079e0f81ffa530605d8cd830378f9c.tar.bz2
Merge pull request #687 in HDFFV/hdf5 from merge_full_swmr_02 to develop
* commit '744b6b282f087ce23310805dc24ce8f8b351fb61': Better segregate clean & dirty LRU lists so that they are only defined when the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
Diffstat (limited to 'src/H5Cpkg.h')
-rw-r--r--src/H5Cpkg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Cpkg.h b/src/H5Cpkg.h
index fdb14a5..d431887 100644
--- a/src/H5Cpkg.h
+++ b/src/H5Cpkg.h
@@ -4746,6 +4746,7 @@ struct H5C_t {
H5C_cache_entry_t * LRU_head_ptr;
H5C_cache_entry_t * LRU_tail_ptr;
+#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS
/* Fields for clean LRU list of entries */
uint32_t cLRU_list_len;
size_t cLRU_list_size;
@@ -4757,6 +4758,7 @@ struct H5C_t {
size_t dLRU_list_size;
H5C_cache_entry_t * dLRU_head_ptr;
H5C_cache_entry_t * dLRU_tail_ptr;
+#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */
#ifdef H5_HAVE_PARALLEL
/* Fields for collective metadata reads */