zfs/zpool commands print scary errors after 7741
After 7741 get_zfs_dataset() tries to guess the name of the dataset that the given path resides on. When it gets this wrong errors are printed to sterr which can be misleading.
cannot open 'storage/pool0/test': dataset does not exist
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit ff524b2355c0ac08bf963297ae8e5ea2e8375852 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2017-02-19T17:56:04.000Z 7857 zfs/zpool commands print scary errors after 7741 7887 get_zfs_dataset() optimised path leaks zfs handle Reviewed by: Sam Zaydel <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>