WIP removing SAS phy control from the ZFS test suite
Convert most zfsd tests to use libgnop instead of libsas
This will allow those tests to run on systems without SAS
expanders, and eliminate one source of intermittency in the
tests.
tests/sys/cddl/zfs/include/libgnop.kshlib
- Allow setting the physical path on a gnop device
- Fix calculation of disk size
tests/sys/cddl/zfs/tests/zfsd/cleanup.ksh
Cleanup gnops on exit
tests/sys/cddl/zfs/tests/zfsd/setup.ksh
Don't bother verifying SAS expanders. They won't be needed for much
longer.
tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_001_neg.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_002_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_003_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_004_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_hotspare_007_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_import_001_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_replace_003_pos.ksh
tests/sys/cddl/zfs/tests/zfsd/zfsd_test.sh
Simulate drive pulls by using gnops instead of SAS phy control.
Sponsored by: Spectra Logic Corp