diff options
author | mainzer <mainzer#hdfgroup.org> | 2019-01-15 22:36:51 (GMT) |
---|---|---|
committer | mainzer <mainzer#hdfgroup.org> | 2019-01-15 22:36:51 (GMT) |
commit | b4f607bc13841c5366f232e16c776d700d15b5be (patch) | |
tree | 1aba531e6d30925e11aa6393a14a4c91a0e0dec8 /src/H5PB.c | |
parent | 4f8917f9086088ac5cc7fa3c3deb400afbf33b68 (diff) | |
download | hdf5-b4f607bc13841c5366f232e16c776d700d15b5be.zip hdf5-b4f607bc13841c5366f232e16c776d700d15b5be.tar.gz hdf5-b4f607bc13841c5366f232e16c776d700d15b5be.tar.bz2 |
Intermin commit to allow update from Vailin's recent changes
Diffstat (limited to 'src/H5PB.c')
-rw-r--r-- | src/H5PB.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1700,7 +1700,7 @@ H5PB_vfd_swmr__update_index(H5F_t * f, while ( top >= bottom ) { - probe = top + bottom / 2; + probe = (top + bottom) / 2; if ( idx[probe].hdf5_page_offset < target_page ) { @@ -2560,12 +2560,12 @@ H5PB__load_page(H5F_t *f, H5PB_t *pb_ptr, haddr_t addr, H5FD_mem_t type, HGOTO_ERROR(H5E_PAGEBUF, H5E_CANTGET, FAIL, \ "driver get_eoa request failed") - +#if 0 /* JRM */ if ( addr + ((haddr_t)(pb_ptr->page_size)) > eoa ) HGOTO_ERROR(H5E_PAGEBUF, H5E_SYSTEM, FAIL, \ "Attempt to load page that extends past EOA") - +#endif /* JRM */ if ( HADDR_UNDEF == (eof = H5FD_get_eof(f->shared->lf, H5FD_MEM_DEFAULT)) ) HGOTO_ERROR(H5E_PAGEBUF, H5E_CANTGET, FAIL, \ @@ -2960,10 +2960,8 @@ H5PB__mark_entry_dirty(H5F_t * f, H5PB_t *pb_ptr, H5PB_entry_t *entry_ptr) } else { /* the entry should be a multi-page metadata entry that - * has been modified this tick. Thus it is only on the - * tick list, and no action is required. + * has been modified this tick. Thus no action is required. */ - HDassert(entry_ptr->modified_this_tick); HDassert(entry_ptr->is_mpmde); HDassert(pb_ptr->vfd_swmr_writer); } |