summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-06-15 18:55:59 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-06-15 18:55:59 (GMT)
commit75aa26981b4becc6926f4100707d9614e84a041c (patch)
tree5b2be7e3509907340ab99f272ba50d5e7cac98ac /src/H5Fpkg.h
parent77a223347552ceb2029c1d2677f7aec4d3cd6684 (diff)
downloadhdf5-75aa26981b4becc6926f4100707d9614e84a041c.zip
hdf5-75aa26981b4becc6926f4100707d9614e84a041c.tar.gz
hdf5-75aa26981b4becc6926f4100707d9614e84a041c.tar.bz2
[svn-r30084] First pass at the evict-on-close feature.
The features is controlled via H5Pset/get_evict_on_close() and is currently enabled by default (it will be disabled by default in the final implementation). There is a bug in the code where the eviction of tagged metadata fails due to some of the metadata being dirty, resulting in error return values and test failures.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index c5aed3b..8ec2a93 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -261,6 +261,7 @@ struct H5F_file_t {
/* not change thereafter. */
hid_t fcpl_id; /* File creation property list ID */
H5F_close_degree_t fc_degree; /* File close behavior degree */
+ hbool_t evict_on_close; /* If the file's objects should be evicted from the metadata cache on close */
size_t rdcc_nslots; /* Size of raw data chunk cache (slots) */
size_t rdcc_nbytes; /* Size of raw data chunk cache (bytes) */
double rdcc_w0; /* Preempt read chunks first? [0.0..1.0]*/