diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-08-08 13:44:34 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-08-08 13:44:34 (GMT) |
commit | e1a7a1acbecea906951b9351577355cf93b192a8 (patch) | |
tree | 702b10eacebfdaa0bdd7d9c8fdbc20a2f56f3b81 /test | |
parent | 0d69520c70b2ec541af4196eef344bac89f6ebe2 (diff) | |
download | hdf5-e1a7a1acbecea906951b9351577355cf93b192a8.zip hdf5-e1a7a1acbecea906951b9351577355cf93b192a8.tar.gz hdf5-e1a7a1acbecea906951b9351577355cf93b192a8.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 |