Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-132908 / 25.04 / optimize pool.dataset.details #15436

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Conversation

yocalebo
Copy link
Contributor

Explicitly pass in valid pools to pool.dataset.query so we're not querying boot pool information. Even though pool.dataset.query doesn't return boot pool information, it still asks zfs for that information by default. To skip the boot pool, we need to explicitly query the zpools we're interested in. This can, potentially, save a tremendous amount of time on systems that have a large amount of boot environments.

@yocalebo yocalebo requested a review from a team January 20, 2025 14:03
@bugclerk bugclerk changed the title optimize pool.dataset.details NAS-132908 / 25.04 / optimize pool.dataset.details Jan 20, 2025
@bugclerk
Copy link
Contributor

@yocalebo yocalebo force-pushed the NAS-132908 branch 3 times, most recently from d739e8e to b2a04a5 Compare January 20, 2025 21:11
@yocalebo yocalebo merged commit a8f5e99 into master Jan 20, 2025
2 checks passed
@yocalebo yocalebo deleted the NAS-132908 branch January 20, 2025 21:21
@bugclerk
Copy link
Contributor

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 Jan 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants