summaryrefslogtreecommitdiffstats
path: root/src/H5Cimage.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
commit321adc3a6f35e3e8f3b3c7be8680fcdff6660db6 (patch)
treee4ea7988d00c7a52eb47b451d035f92f1d084bc4 /src/H5Cimage.c
parent1b8c195eb7b277c6b39061b6acac2583a7ee100a (diff)
downloadhdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.zip
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.gz
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.bz2
Align w/incoming page buffering changes.
Diffstat (limited to 'src/H5Cimage.c')
-rw-r--r--src/H5Cimage.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Cimage.c b/src/H5Cimage.c
index a505f5c..5374b41 100644
--- a/src/H5Cimage.c
+++ b/src/H5Cimage.c
@@ -83,7 +83,7 @@
#define H5C_IMAGE_ENTRY_T_BAD_MAGIC 0xBeefDead
/* Maximum ring allowed in image */
-#define H5C_MAX_RING_IN_IMAGE 3
+#define H5C_MAX_RING_IN_IMAGE H5C_RING_MDFSM
/******************/
@@ -3115,6 +3115,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5C__reconstruct_cache_contents() */
+
/*-------------------------------------------------------------------------
* Function: H5C__reconstruct_cache_entry()
*
@@ -3903,7 +3904,7 @@ H5C__write_cache_image(H5F_t *f, hid_t dxpl_id, const H5C_t *cache_ptr)
/* Write the buffer (if serial access, or rank 0 for parallel access) */
if(H5F_block_write(f, H5FD_MEM_SUPER, cache_ptr->image_addr, cache_ptr->image_len, dxpl_id, cache_ptr->image_buffer) < 0)
- HGOTO_ERROR(H5E_CACHE, H5E_CANTFLUSH, FAIL, "Can't write metadata cache image block to file.")
+ HGOTO_ERROR(H5E_CACHE, H5E_CANTFLUSH, FAIL, "can't write metadata cache image block to file")
#ifdef H5_HAVE_PARALLEL
} /* end if */
} /* end block */