From aa0f452d829b697cf212d3795f85433def90f7ed Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Wed, 4 Dec 2002 10:44:19 -0500 Subject: [svn-r6188] ./hdf5-devel/tools/testfiles/tslink-1.ls 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 --- tools/testfiles/tslink-1.ls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testfiles/tslink-1.ls b/tools/testfiles/tslink-1.ls index b359327..05b9bca 100644 --- a/tools/testfiles/tslink-1.ls +++ b/tools/testfiles/tslink-1.ls @@ -1,5 +1,5 @@ ############################# output for 'h5ls -w80 -r tslink.h5' ############################# -/tslink.h5/slink1 -> somevalue -/tslink.h5/slink2 -> linkvalue +/slink1 -> somevalue +/slink2 -> linkvalue -- cgit v0.12