From 752fb97ef320bf002c10e40a86c9299c9286f7b4 Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 19 Sep 2019 12:08:55 -0500 Subject: 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. --- src/H5PB.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ) ) -- cgit v0.12