summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
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/H5C.c
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/H5C.c')
-rw-r--r--src/H5C.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 010b043..78f0cf0 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -138,12 +138,10 @@ static herr_t H5C__autoadjust__ageout__remove_excess_markers(H5C_t * cache_ptr);
static herr_t H5C__flash_increase_cache_size(H5C_t * cache_ptr,
size_t old_entry_size, size_t new_entry_size);
-static herr_t H5C_flush_invalidate_cache(const H5F_t * f,
- hid_t dxpl_id,
- unsigned flags);
+static herr_t H5C_flush_invalidate_cache(H5F_t *f, hid_t dxpl_id, unsigned flags);
-static herr_t H5C_flush_invalidate_ring(const H5F_t * f, hid_t dxpl_id,
- H5C_ring_t ring, unsigned flags);
+static herr_t H5C_flush_invalidate_ring(H5F_t *f, hid_t dxpl_id, H5C_ring_t ring,
+ unsigned flags);
static herr_t H5C_flush_ring(H5F_t *f, hid_t dxpl_id, H5C_ring_t ring,
unsigned flags);
@@ -5005,7 +5003,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5C_flush_invalidate_cache(const H5F_t * f, hid_t dxpl_id, unsigned flags)
+H5C_flush_invalidate_cache(H5F_t *f, hid_t dxpl_id, unsigned flags)
{
H5C_t * cache_ptr;
H5C_ring_t ring;
@@ -5150,7 +5148,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5C_flush_invalidate_ring(const H5F_t * f, hid_t dxpl_id, H5C_ring_t ring,
+H5C_flush_invalidate_ring(H5F_t * f, hid_t dxpl_id, H5C_ring_t ring,
unsigned flags)
{
H5C_t *cache_ptr;