summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authormainzer <mainzer#hdfgroup.org>2019-01-03 19:50:53 (GMT)
committermainzer <mainzer#hdfgroup.org>2019-01-03 19:50:53 (GMT)
commit4f8917f9086088ac5cc7fa3c3deb400afbf33b68 (patch)
tree61bbd8c8e659331157a2d65dfe1445729691cc85 /src/H5Fpkg.h
parent0e0abc50c8282af7c39855e58ed32e25091079c1 (diff)
downloadhdf5-4f8917f9086088ac5cc7fa3c3deb400afbf33b68.zip
hdf5-4f8917f9086088ac5cc7fa3c3deb400afbf33b68.tar.gz
hdf5-4f8917f9086088ac5cc7fa3c3deb400afbf33b68.tar.bz2
Interim checkin to allow Vailin to address assertion failure in
the memory manager -- details shown below. Note that there are other issues as well -- this is not a working version. [mainzer@jelly test]$ ./vfd_swmr Testing Configure VFD SWMR with fapl PASSED Testing VFD SWMR configuration for the file and fapl PASSED Testing H5Fvfd_swmr_end_tick() for VFD SWMR PASSED Testing Create/Open/Flush an HDF5 file for VFD SWMR PASSED Testing Verify the metadata file for VFD SWMR writer vfd_swmr: H5MVsection.c:233: H5MV__sect_can_merge: Assertion `((sect1->sect_info.addr)!=((haddr_t)(long)(-1)) && (sect2->sect_info.addr)!=((haddr_t)(long)(-1)) && (sect1->sect_info.addr)<(sect2->sect_info.addr))' failed. Abort (core dumped) [mainzer@jelly test]$
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 55aae9e..357ac07 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -430,6 +430,16 @@ struct H5F_file_t {
* through mdf_idx_entries_used - 1.
*/
+ /* Old VFD SWMMR metadata file index. These fields are used only
+ * by the VFD SWMR reader to store the previous version of the
+ * metadata file index so that it can be compared with the current
+ * versoin to identify page buffer and metadata cache entries that
+ * must be evicted or refreshed to avoid message from the past bugs.
+ */
+ H5FD_vfd_swmr_idx_entry_t * old_mdf_idx;
+ int32_t old_mdf_idx_len;
+ int32_t old_mdf_idx_entries_used;
+
/* Metadata file for VFD SWMR writer */
int vfd_swmr_md_fd; /* POSIX: file descriptor for the
* metadata file