From 2f44455b205828aa8b01dfabca5686155e7eea13 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Wed, 4 Dec 2002 10:44:15 -0500 Subject: [svn-r6185] ./hdf5-devel/tools/testfiles/tloop-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/tloop-1.ls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testfiles/tloop-1.ls b/tools/testfiles/tloop-1.ls index c351f2e..b9631b7 100644 --- a/tools/testfiles/tloop-1.ls +++ b/tools/testfiles/tloop-1.ls @@ -1,7 +1,7 @@ ############################# output for 'h5ls -w80 -r -d tloop.h5' ############################# -/tloop.h5/g1 Group -/tloop.h5/g1/g1.1 Group -/tloop.h5/g1/g1.1/g2.1 Group, same as /tloop.h5/g1 -/tloop.h5/g2 Group, same as /tloop.h5/g1/g1.1 +/g1 Group +/g1/g1.1 Group +/g1/g1.1/g2.1 Group, same as /g1 +/g2 Group, same as /g1/g1.1 -- cgit v0.12