Skip to content

Backport of Fix available space accounting for special/dedup (#18222)#18367

Open
pcd1193182 wants to merge 1 commit intoopenzfs:zfs-2.2.10-stagingfrom
pcd1193182:osnexus_2210
Open

Backport of Fix available space accounting for special/dedup (#18222)#18367
pcd1193182 wants to merge 1 commit intoopenzfs:zfs-2.2.10-stagingfrom
pcd1193182:osnexus_2210

Conversation

@pcd1193182
Copy link
Copy Markdown
Contributor

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Copy link
Copy Markdown
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants