Backport of Fix available space accounting for special/dedup (#18222)#18367
Open
pcd1193182 wants to merge 1 commit intoopenzfs:zfs-2.2.10-stagingfrom
Open
Backport of Fix available space accounting for special/dedup (#18222)#18367pcd1193182 wants to merge 1 commit intoopenzfs:zfs-2.2.10-stagingfrom
pcd1193182 wants to merge 1 commit intoopenzfs:zfs-2.2.10-stagingfrom
Conversation
behlendorf
approved these changes
Mar 25, 2026
Contributor
behlendorf
left a comment
There was a problem hiding this comment.
The change itself looks right. It seems we'll need to backport a few CI changes as well to get a proper test run.
…#18222) Sponsored-by: Klara, Inc. Sponsored-by: OSNexus Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sponsored-by: Klara, Inc.
Sponsored-by: OSNexus
Description
This is a simple backport of @amotin 's fix for issue #18190 onto 2.2. This issue can occur on production systems in these older versions, so it is probably worth backporting this relatively small and self-contained fix to alleviate the issue.
How Has This Been Tested?
Verified no regressions using the ZFS test suite and tested that it had the desired effect on systems experiencing a critical space shortage but with ample special class space.
Types of changes
Checklist:
Signed-off-by.