diff options
author | Robb Matzke <matzke@llnl.gov> | 2002-12-04 15:44:07 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 2002-12-04 15:44:07 (GMT) |
commit | 76f7bb10ac47d44e07fb31d72a689e51b5112ba8 (patch) | |
tree | dd20ac10a3d6819737a8ff36f1026ec2736fa797 /COPYING | |
parent | b081991663dfa001eb39b2fbda153f2b2277b9bf (diff) | |
download | hdf5-76f7bb10ac47d44e07fb31d72a689e51b5112ba8.zip hdf5-76f7bb10ac47d44e07fb31d72a689e51b5112ba8.tar.gz hdf5-76f7bb10ac47d44e07fb31d72a689e51b5112ba8.tar.bz2 |
[svn-r6179] ./hdf5-devel/tools/h5ls/h5ls.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 23:00:35 Robb Matzke <matzke@arborea.spizella.com>
* main: Replaced the H5LS_PREPEND_FILENAME compile-time symbol which was
always defined, with a runtime decision. If h5ls is
invoked with more than one argument then the file name
is displayed as part of the object name, otherwise the
file name is not displayed.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions