htri_t H5Fare_mdc_flushes_enabled(
hid_t file_id,
hbool_t *are_disabled
)
H5O/H5Fenable/disable_mdc_flushes()
and associated
H5Xflush()
functions can be used to control the flushing of
entries from a file’s metadata cache. Metadata cache entries can
be controlled at both the individual HDF5 object level (datasets, groups,
committed datatypes) and the entire metadata cache level.
H5Fopen()
or
H5Fcreate()
) may be passed to this function. To determine
the enabled/disabled state of metadata flushes for individual HDF5
objects, use H5Oare_mdc_flushes_disabled
instead.
Passing in a hid_t
identifier that represents any other
HDF5 entity is considered an error.
hid_t file_id |
IN: An HDF5 file identifier. |
hbool_t *are_disabled |
OUT: Flushes enabled/disabled. |
are_disabled
will be set to TRUE if the file’s
metadata cache has been set to globally prevent flushes via
H5Fdisable_mdc_flushes
and FALSE if it is not.
Returns a non-negative value if successful; otherwise returns a negative value.
Release | Change |
1.10.0 | C function introduced with this release. |