-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(syncoid): Regression: Bad performance due to
zfs get all
Return to using `zfs get guid,creation,createtxg` to avoid the performance overhead of `zfs get all`. There is a per-host global cache to remember: * if `zfs get` supports the type filter argument, `-t snapshot` and * which ZFS properties are available. The feature check introduced by subroutine `check_zfs_get_features` eliminates the need for a `getsnaps` fallback recursion, as there is no longer any guesswork into what features `zfs get` supports. Fixes: #818 (comment)
- Loading branch information
Showing
1 changed file
with
64 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters