summaryrefslogtreecommitdiffstats
path: root/test/cache_common.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-11-12 22:01:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-11-12 22:01:30 (GMT)
commitd4591ff54d9319346f49a3bc67431f0fa26a8d65 (patch)
treec73146c1bd6bdd942c462b4cf09e02768b687a78 /test/cache_common.h
parentd183e9a1a2eadf768996f5cc41d67aa2685a2363 (diff)
downloadhdf5-d4591ff54d9319346f49a3bc67431f0fa26a8d65.zip
hdf5-d4591ff54d9319346f49a3bc67431f0fa26a8d65.tar.gz
hdf5-d4591ff54d9319346f49a3bc67431f0fa26a8d65.tar.bz2
Bring over new 'notify' metadata cache client callback actions for when an
entry is cleaned / dirtied or its [flush dependency] child entry is cleaned / dirtied.
Diffstat (limited to 'test/cache_common.h')
-rw-r--r--test/cache_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cache_common.h b/test/cache_common.h
index 0e4966c..811c35e 100644
--- a/test/cache_common.h
+++ b/test/cache_common.h
@@ -211,6 +211,11 @@ typedef struct flush_op
*/
} flush_op;
+typedef enum test_entry_action_t {
+ TEST_ENTRY_ACTION_NUL = 0, /* No action on entry */
+ TEST_ENTRY_ACTION_MOVE /* Entry is beging moved */
+} test_entry_action_t;
+
typedef struct test_entry_t
{
H5C_cache_entry_t header; /* entry data used by the cache
@@ -219,6 +224,7 @@ typedef struct test_entry_t
struct test_entry_t * self; /* pointer to this entry -- used for
* sanity checking.
*/
+ test_entry_action_t action; /* Action being performed on a test entry */
H5F_t * file_ptr; /* pointer to the file in which the
* entry resides, or NULL if the entry
* is not in a file.