summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-09-19 17:08:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-09-19 17:08:55 (GMT)
commit752fb97ef320bf002c10e40a86c9299c9286f7b4 (patch)
tree7859bae5e68f0f573857a39c3dcbb7a92f25d143 /src
parent71499c852b0ba8eacaa35d7f878e71fc94fe0eb8 (diff)
downloadhdf5-752fb97ef320bf002c10e40a86c9299c9286f7b4.zip
hdf5-752fb97ef320bf002c10e40a86c9299c9286f7b4.tar.gz
hdf5-752fb97ef320bf002c10e40a86c9299c9286f7b4.tar.bz2
Don't set up raw-data pages for delayed writes. This prevents
an assertion from firing: "entry_ptr->delay_write_until == 0" failed: file "../../../vchoi_fork/src/H5PB.c", line 4093, function "H5PB__write_raw" In a comment, mention a change that has to be made to accommodate parallel mode.
Diffstat (limited to 'src')
-rw-r--r--src/H5PB.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index 1762f40..12a3230 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -1031,6 +1031,9 @@ done:
*
*-------------------------------------------------------------------------
*/
+/* TBD Add optional raw-data bypass here and at H5PB_write when we
+ * are operating in parallel mode.
+ */
herr_t
H5PB_read(H5F_t *f, H5FD_mem_t type, haddr_t addr, size_t size,
void *buf/*out*/)
@@ -2963,6 +2966,7 @@ H5PB__mark_entry_dirty(H5F_t * f, H5PB_t *pb_ptr, H5PB_entry_t *entry_ptr)
if ( ( pb_ptr->vfd_swmr_writer ) &&
( entry_ptr->loaded ) &&
+ ( entry_ptr->mem_type != H5FD_MEM_DRAW ) &&
( H5F_vfd_swmr_writer__delay_write(f, entry_ptr->page,
&(entry_ptr->delay_write_until)) < 0 ) )