diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-08-08 13:44:34 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-08-27 15:41:48 (GMT) |
commit | 4174fcb8c0a7f8f5ec5297f223c052eca039d5c3 (patch) | |
tree | 5ab6abad7247c52ce4a2512635b855c2851e8166 /test | |
parent | 18cf44a59520dbd9ad6099d382aec961e1e33d69 (diff) | |
download | hdf5-4174fcb8c0a7f8f5ec5297f223c052eca039d5c3.zip hdf5-4174fcb8c0a7f8f5ec5297f223c052eca039d5c3.tar.gz hdf5-4174fcb8c0a7f8f5ec5297f223c052eca039d5c3.tar.bz2 |
Remove redundant calls to set the metadata cache tag
Diffstat (limited to 'test')
-rw-r--r-- | test/mf.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -7696,6 +7696,8 @@ test_page_alloc_xfree(const char *env_h5_drvr, hid_t fapl) TEST_ERROR if(fs_persist) { + haddr_t prv_tag = HADDR_UNDEF; + /* Re-open the file */ if((fid = H5Fopen(filename, H5F_ACC_RDWR, fapl_new)) < 0) TEST_ERROR @@ -7704,6 +7706,9 @@ test_page_alloc_xfree(const char *env_h5_drvr, hid_t fapl) if(NULL == (f = (H5F_t *)H5VL_object(fid))) TEST_ERROR + /* Set the freespace tag for the metadata cache */ + H5AC_tag(H5AC__FREESPACE_TAG, &prv_tag); \ + /* Verify that the large generic manager is there */ H5MF__alloc_to_fs_type(f->shared, H5FD_MEM_DRAW, TBLOCK_SIZE5000, (H5F_mem_page_t *)&fs_type); if(!H5F_addr_defined(f->shared->fs_addr[fs_type])) @@ -7754,6 +7759,9 @@ test_page_alloc_xfree(const char *env_h5_drvr, hid_t fapl) if(found_addr != gaddr1) TEST_ERROR + /* Reset the previous tag */ + H5AC_tag(prv_tag, NULL); \ + /* Close file */ if(H5Fclose(fid) < 0) TEST_ERROR |