summaryrefslogtreecommitdiffstats
path: root/src/H5Dfarray.c
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-06-15 19:58:26 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-06-15 19:58:26 (GMT)
commit9b4163af53d4d4c463a4a3b25c220ea9454f9651 (patch)
treecb9689131fdd3cdad9eeaba77d262a465557b1a1 /src/H5Dfarray.c
parentca7fc8e96a70b06b08e1db21040056ae17a51906 (diff)
downloadhdf5-9b4163af53d4d4c463a4a3b25c220ea9454f9651.zip
hdf5-9b4163af53d4d4c463a4a3b25c220ea9454f9651.tar.gz
hdf5-9b4163af53d4d4c463a4a3b25c220ea9454f9651.tar.bz2
[svn-r19004] Purpose:
Commit metadata tagging framework. Description: This check-in contains a new framework whose goal is to apply a tag value to each new entry in the metadata cache as it is created. This tag value is such that it relates each piece of metadata to the HDF5 object that it belongs to (dataset, group, et cetera). This changeset includes the framework that applies the tags as well as a suite of tests to verify correct tag application, though does not yet make use of the tag values to flush/evict individual objects. Please refer to the "flush/evict individual objects" RFC for further discussion of these changes. Tested: jam, amani, linew (h5committest) liberty, abe, blue print
Diffstat (limited to 'src/H5Dfarray.c')
-rw-r--r--src/H5Dfarray.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Dfarray.c b/src/H5Dfarray.c
index a62ae7a..1c910d5 100644
--- a/src/H5Dfarray.c
+++ b/src/H5Dfarray.c
@@ -1481,11 +1481,17 @@ H5D_farray_idx_copy_setup(const H5D_chk_idx_info_t *idx_info_src,
HGOTO_ERROR(H5E_DATASET, H5E_CANTOPENOBJ, FAIL, "can't open fixed array")
} /* end if */
+ /* Set copied metadata tag */
+ H5_BEGIN_TAG(idx_info_dst->dxpl_id, H5AC__COPIED_TAG, FAIL);
+
/* Create the fixed array that describes chunked storage in the dest. file */
if(H5D_farray_idx_create(idx_info_dst) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize chunked storage")
HDassert(H5F_addr_defined(idx_info_dst->storage->idx_addr));
+ /* Reset metadata tag */
+ H5_END_TAG(FAIL);
+
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D_farray_idx_copy_setup() */