diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-06-24 23:00:02 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-06-24 23:08:23 (GMT) |
commit | d9653606d8b38689c7f4d0c757753b8acc378a04 (patch) | |
tree | 316080ebf977fc22d9ec90531eb5236d23fca6a4 /src/H5MF.c | |
parent | 3c9b147707b92565d31db65fa6b2393e257db443 (diff) | |
download | hdf5-d9653606d8b38689c7f4d0c757753b8acc378a04.zip hdf5-d9653606d8b38689c7f4d0c757753b8acc378a04.tar.gz hdf5-d9653606d8b38689c7f4d0c757753b8acc378a04.tar.bz2 |
Fix for HDFFV-10808 H5Pset_file_space_strategy succeeds when using H5Pset_libver_bounds v18,v18.
Fails file creation when non-default free-space info is set in fcpl and the library version
high bound is less than v110 because free-space info message is introduced in library release v110.
Diffstat (limited to 'src/H5MF.c')
-rw-r--r-- | src/H5MF.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1835,6 +1835,7 @@ HDfprintf(stderr, "%s: Entering\n", FUNC); fsinfo.page_size = f->shared->fs_page_size; fsinfo.pgend_meta_thres = f->shared->pgend_meta_thres; fsinfo.eoa_pre_fsm_fsalloc = f->shared->eoa_pre_fsm_fsalloc; + fsinfo.version = f->shared->fs_version; /* Write the free space manager message -- message must already exist */ if(H5F__super_ext_write_msg(f, H5O_FSINFO_ID, &fsinfo, FALSE, H5O_MSG_FLAG_MARK_IF_UNKNOWN) < 0) @@ -1973,6 +1974,8 @@ HDfprintf(stderr, "%s: Entering\n", FUNC); fsinfo.page_size = f->shared->fs_page_size; fsinfo.pgend_meta_thres = f->shared->pgend_meta_thres; fsinfo.eoa_pre_fsm_fsalloc = HADDR_UNDEF; + fsinfo.version = f->shared->fs_version; + for(ptype = H5F_MEM_PAGE_META; ptype < H5F_MEM_PAGE_NTYPES; H5_INC_ENUM(H5F_mem_page_t, ptype)) fsinfo.fs_addr[ptype - 1] = HADDR_UNDEF; |