[svn-r6177] ./hdf5-devel/src/H5E.c

Purpose:
    New Feature; Optimization; Clean-up
    (Merged from 1.4 branch)

Description:
    There is no symbolic constant to pass to functions that take an
    optional object ID for when the caller wants to indicate no object
    ID. In the past the caller always passed a negative integer.

    GPFS performs poorly.

    The h5ls tool decides whether to list the file name in the output
    based on a compile-time choice, which isn't always optimal at run
    time.

Solution:
    Added a symbolic constant H5I_INVALID_HID.

    Added code to tell the mmfsd of GPFS to forego byte range token
    prefetching.

    h5ls decides whether to print the file name at runtime based on
    the number of objects being listed.

Platforms tested:
    SuSE Linux (arborea), gcc and mpich-1.2.4
    SunOS (baldric), gcc


2002-12-03 22:50:23 Robb Matzke  <matzke@arborea.spizella.com>
	*: Added H5E_FCNTL minor error number.
This commit is contained in:
Robb Matzke 2002-12-04 10:44:03 -05:00
parent dc7de8f715
commit e9f828ecfb

View File

@ -109,6 +109,7 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = {
{H5E_WRITEERROR, "Write failed"},
{H5E_CLOSEERROR, "Close failed"},
{H5E_OVERFLOW, "Address overflowed"},
{H5E_FCNTL, "File control (fcntl) failed"},
/* Function entry/exit interface errors */
{H5E_CANTINIT, "Unable to initialize object"},