summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-11-12 07:14:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-11-12 07:14:58 (GMT)
commit80ac4343cdf0640b114b846db87c091c6e7c66a6 (patch)
tree1ec049d16537d15f2f7afa3eb2f6608673eb3083 /src/H5C.c
parent70938cbf28ca91a17d8d975d5b5ebcd44648e1c9 (diff)
downloadhdf5-80ac4343cdf0640b114b846db87c091c6e7c66a6.zip
hdf5-80ac4343cdf0640b114b846db87c091c6e7c66a6.tar.gz
hdf5-80ac4343cdf0640b114b846db87c091c6e7c66a6.tar.bz2
Align w/minor cleanups in revise_chunks branch.
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 16b63b6..9248f4f 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -82,9 +82,6 @@
/* Headers */
/***********/
#include "H5private.h" /* Generic Functions */
-#ifdef H5_HAVE_PARALLEL
-#include "H5ACprivate.h" /* Metadata cache */
-#endif /* H5_HAVE_PARALLEL */
#include "H5Cpkg.h" /* Cache */
#include "H5Eprivate.h" /* Error handling */
#include "H5Fpkg.h" /* Files */
@@ -1209,6 +1206,7 @@ H5C_insert_entry(H5F_t * f,
HDassert( cache_ptr );
HDassert( cache_ptr->magic == H5C__H5C_T_MAGIC );
HDassert( type );
+ HDassert( type->image_len );
HDassert( H5F_addr_defined(addr) );
HDassert( thing );
@@ -5843,13 +5841,11 @@ H5C__flush_single_entry(const H5F_t *f, hid_t dxpl_id, H5C_cache_entry_t *entry_
/* Finally, write the image to disk.
*
- * Note that if either the H5C__CLASS_NO_IO_FLAG or the
- * the H5AC__CLASS_SKIP_WRITES flag is set in the
+ * Note that if the H5AC__CLASS_SKIP_WRITES flag is set in the
* in the entry's type, we silently skip the write. This
* flag should only be used in test code.
*/
- if ( ( ((entry_ptr->type->flags) & H5C__CLASS_NO_IO_FLAG) == 0 ) &&
- ( ((entry_ptr->type->flags) & H5C__CLASS_SKIP_WRITES) == 0 ) )
+ if(((entry_ptr->type->flags) & H5C__CLASS_SKIP_WRITES) == 0)
{
/* If compression is not enabled, the size of the entry on
* disk is entry_prt->size. However if entry_ptr->compressed
@@ -6199,9 +6195,6 @@ H5C_load_entry(H5F_t * f,
HDassert(f->shared->cache);
HDassert(type);
- /* verify absence of prohibited or unsupported type flag combinations */
- HDassert(!(type->flags & H5C__CLASS_NO_IO_FLAG));
-
/* for now, we do not combine the speculative load and compressed flags */
HDassert(!((type->flags & H5C__CLASS_SPECULATIVE_LOAD_FLAG) &&
(type->flags & H5C__CLASS_COMPRESSED_FLAG)));