summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 91c4e9d..54b797d 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -713,7 +713,7 @@ H5F_istore_flush_entry (H5F_t *f, H5F_rdcc_ent_t *ent)
HGOTO_ERROR (H5E_IO, H5E_WRITEERROR, FAIL,
"unable to allocate chunk");
}
- if (H5F_block_write (f, &(udata.addr), nbytes, out_ptr)<0) {
+ if (H5F_block_write (f, &(udata.addr), nbytes, H5D_XFER_DFLT, out_ptr)<0) {
HGOTO_ERROR (H5E_IO, H5E_WRITEERROR, FAIL,
"unable to write raw data to file");
}
@@ -1026,7 +1026,8 @@ H5F_istore_lock (H5F_t *f, const H5O_layout_t *layout,
* the entire chunk size -- it reduces strain on the malloc()
* subsystem.
*/
- if (H5F_block_read (f, &(udata.addr), udata.key.nbytes, chunk)<0) {
+ if (H5F_block_read (f, &(udata.addr), udata.key.nbytes,
+ H5D_XFER_DFLT, chunk)<0) {
HGOTO_ERROR (H5E_IO, H5E_READERROR, NULL,
"unable to read raw data chunk");
}