Skip to content

Conversation

@yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Dec 6, 2025

This adds a new zfs.resource.snapshot.* namespace that utilizes our new truenas_pylibzfs module. This mimics our current legacy zfs.snapshot.* namespace. The difference is that our legacy uses our process pool which makes certain operations inefficient/slow.

At first I was going to put everything into zfs.resource.* namespace but that exposed a complexity trade-off on the API/UX side that isn't worth it. Nothing uses these new endpoints but subsequent PRs will follow that converts internal callers to use. Tests have been added for each new endpoint and they all pass.

@yocalebo yocalebo requested a review from a team December 6, 2025 13:40
@bugclerk bugclerk changed the title Add new zfs.resource.snapshot namespace NAS-138826 / 26.04 / Add new zfs.resource.snapshot namespace Dec 6, 2025
@bugclerk
Copy link
Contributor

bugclerk commented Dec 6, 2025

@yocalebo
Copy link
Contributor Author

yocalebo commented Dec 6, 2025

time 08:00

@truenas truenas deleted a comment from bugclerk Dec 6, 2025
@yocalebo
Copy link
Contributor Author

yocalebo commented Dec 6, 2025

time 04:00

@yocalebo yocalebo merged commit 2986a5c into master Dec 6, 2025
2 checks passed
@yocalebo yocalebo deleted the zfs23 branch December 6, 2025 17:43
@bugclerk
Copy link
Contributor

bugclerk commented Dec 6, 2025

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants