summaryrefslogtreecommitdiffstats
path: root/src/H5Cprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-01-04 17:20:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-01-04 17:20:01 (GMT)
commit6232dd6d62e5a58a6185b9502b6d8719cf0ce676 (patch)
tree0691044d5919a8cd16f5fc058c749c1b49d6d7b2 /src/H5Cprivate.h
parent15f474ee0d997d47f40864bd5f10cf446de3d243 (diff)
downloadhdf5-6232dd6d62e5a58a6185b9502b6d8719cf0ce676.zip
hdf5-6232dd6d62e5a58a6185b9502b6d8719cf0ce676.tar.gz
hdf5-6232dd6d62e5a58a6185b9502b6d8719cf0ce676.tar.bz2
Merge code from cache image branch to split FSM ring into two types: raw data
and metadata. Also, some more ring reset safeties and minor code cleanups.
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r--src/H5Cprivate.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h
index 74d0826..8e75ea0 100644
--- a/src/H5Cprivate.h
+++ b/src/H5Cprivate.h
@@ -937,11 +937,13 @@ typedef herr_t (*H5C_log_flush_func_t)(H5C_t *cache_ptr, haddr_t addr,
* ring.
*
* Free space managers managing file space must be flushed next,
- * and are assigned to the second outermost ring.
+ * and are assigned to the second and third outermost rings. Two rings
+ * are used here as the raw data free space manager must be flushed before
+ * the metadata free space manager.
*
* The object header and associated chunks used to implement superblock
* extension messages must be flushed next, and are thus assigned to
- * the third outermost ring.
+ * the fourth outermost ring.
*
* The superblock proper must be flushed last, and is thus assigned to
* the innermost ring.
@@ -957,10 +959,11 @@ typedef herr_t (*H5C_log_flush_func_t)(H5C_t *cache_ptr, haddr_t addr,
#define H5C_RING_UNDEFINED 0 /* shouldn't appear in the cache */
#define H5C_RING_USER 1 /* outermost ring */
-#define H5C_RING_FSM 2
-#define H5C_RING_SBE 4 /* temporarily merged with H5C_RING_SB */
-#define H5C_RING_SB 4 /* innermost ring */
-#define H5C_RING_NTYPES 5
+#define H5C_RING_RDFSM 2
+#define H5C_RING_MDFSM 3
+#define H5C_RING_SBE 4
+#define H5C_RING_SB 5 /* innermost ring */
+#define H5C_RING_NTYPES 6
typedef int H5C_ring_t;