VFD plugins (#602)

* Implement support for loading of Virtual File Drivers as plugins

Fix plugin caching for VOL connector and VFD plugins

Fix plugin iteration to skip paths that can't be opened

* Enable dynamic loading of VFDs with HDF5_DRIVER environment variable

* Temporarily disable error reporting during H5F_open double file open

* Default to using HDstat in h5_get_file_size for unknown VFDs

* Use macros for some environment variables that HDF5 interprets

* Update "null" and "ctl testing" VFDs
This commit is contained in:
jhendersonHDF
2021-09-29 13:28:12 -05:00
committed by GitHub
parent 0fa5836cc5
commit 3da0802c40
169 changed files with 6182 additions and 2345 deletions

View File

@@ -36,6 +36,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -36,6 +36,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.

View File

@@ -37,6 +37,18 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
HDF5 file specified
--vol-info-2 VOL-specific info to pass to the VOL connector used for
opening the second HDF5 file specified
--vfd-value-1 Value (ID) of the VFL driver to use for opening the
first HDF5 file specified
--vfd-name-1 Name of the VFL driver to use for opening the first
HDF5 file specified
--vfd-info-1 VFD-specific info to pass to the VFL driver used for
opening the first HDF5 file specified
--vfd-value-2 Value (ID) of the VFL driver to use for opening the
second HDF5 file specified
--vfd-name-2 Name of the VFL driver to use for opening the second
HDF5 file specified
--vfd-info-2 VFD-specific info to pass to the VFL driver used for
opening the second HDF5 file specified
--follow-symlinks
Follow symbolic links (soft links and external links and compare the)
links' target objects.