Last modified: 8 December 2015

Name: H5Fare_mdc_flushes_disabled

Signature:
htri_t H5Fare_mdc_flushes_enabled( hid_t file_id, hbool_t *are_disabled )

Purpose:
Determines if flushes have been globally disabled for a file’s metadata cache.

Description:
The 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.

Note:
Only HDF5 file identifiers (obtained from 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.


Parameters:
hid_t file_id IN: An HDF5 file identifier.
hbool_t *are_disabled    OUT: Flushes enabled/disabled.

Returns:
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.


Fortran Interface:
None

See Also:



History:
Release     Change
1.10.0 C function introduced with this release.